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" } */
10 vector
signed long long
11 testsl_signed_longlong (vector
signed long long x
, vector
unsigned long long y
)
16 vector
unsigned long long
17 testsl_unsigned_longlong (vector
unsigned long long x
, vector
unsigned long long y
)
22 /* { dg-final { scan-assembler-times "vsld" 2 } } */