1 /* Verify that overloaded built-ins for vec_splat with long long
2 inputs produce the right code. */
4 /* { dg-do compile { target { powerpc*-*-linux* && lp64 } } } */
5 /* { dg-require-effective-target powerpc_vsx_ok } */
6 /* { dg-options "-mvsx -O2" } */
10 vector
signed long long
11 test3s (signed long long x
)
13 return vec_splats (x
);
16 vector
unsigned long long
17 test3u (unsigned long long x
)
19 return vec_splats (x
);
22 /* { dg-final { scan-assembler-times "xxpermdi" 2 } } */