[testsuite] Fix directives order
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / fold-vec-splats-longlong.c
blobc5884ba88f48aa17bddf521b423fb15cb9988c92
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" } */
8 #include <altivec.h>
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 } } */