[testsuite] Fix directives order
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / fold-vec-abs-longlong.c
blob5b59d19346def79baa7ea7d64c4bba8a5bebb2ad
1 /* Verify that overloaded built-ins for vec_abs with long long
2 inputs produce the right results. */
4 /* { dg-do compile } */
5 /* { dg-require-effective-target powerpc_p8vector_ok } */
6 /* { dg-options "-mpower8-vector -O2" } */
8 #include <altivec.h>
10 vector signed long long
11 test3 (vector signed long long x)
13 return vec_abs (x);
16 /* { dg-final { scan-assembler-times "vspltisw|vxor" 1 } } */
17 /* { dg-final { scan-assembler-times "vsubudm" 1 } } */
18 /* { dg-final { scan-assembler-times "vmaxsd" 1 } } */