[testsuite] Fix directives order
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / fold-vec-cntlz-int.c
blobae4dd5776928e67b6718f7d1e4025923f960ba25
1 /* Verify that overloaded built-ins for vec_cntlz with int
2 inputs produce the right results. */
4 /* { dg-do compile } */
5 /* { dg-require-effective-target powerpc_p8vector_ok } */
6 /* { dg-options "-maltivec -mpower8-vector -O2" } */
8 #include <altivec.h>
10 vector signed int
11 testsi (vector signed int vsi2)
13 return vec_cntlz (vsi2);
16 vector unsigned int
17 testui (vector unsigned int vui2)
19 return vec_cntlz (vui2);
22 /* { dg-final { scan-assembler-times "vclzw" 2 } } */