* gcc.target/powerpc/builtins-1-be.c <vclzb>: Rename duplicate test
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / fold-vec-shift-left-longlong-fwrapv.c
blob486426a4318f655c1bfc2ebded778f35010f4488
1 /* Verify that overloaded built-ins for vec_sl produce the right results. */
2 /* This test covers the shift left tests with the -fwrapv option. */
4 /* { dg-do compile } */
5 /* { dg-require-effective-target powerpc_p8vector_ok } */
6 /* { dg-options "-mpower8-vector -O2 -fwrapv" } */
8 #include <altivec.h>
10 vector signed long long
11 testsl_signed_longlong (vector signed long long x, vector unsigned long long y)
13 return vec_sl (x, y);
16 vector unsigned long long
17 testsl_unsigned_longlong (vector unsigned long long x, vector unsigned long long y)
19 return vec_sl (x, y);
22 /* { dg-final { scan-assembler-times "vsld" 2 } } */