[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / vec_reve_1.c
blob95751d53632d50552a7d572d821a46e8095319fc
1 /* { dg-do compile } */
2 /* { dg-require-effective-target powerpc_vsx_ok } */
3 /* { dg-options "-O2 -mvsx" } */
5 #include <altivec.h>
7 vector double foo1 (vector double a)
9 return vec_reve (a);
12 vector long long foo2 (vector long long a)
14 return vec_reve (a);
17 /* { dg-final { scan-assembler-times {\mxxpermdi\M} 2 } } */