[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr104482.c
blob92191265e4c68bcebbd5b0234b56d6f37b87151b
1 /* { dg-require-effective-target powerpc_vsx_ok } */
2 /* { dg-options "-mvsx" } */
4 /* It's to verify no ICE here, ignore error messages about
5 mismatch argument number since they are not test points
6 here. */
7 /* { dg-excess-errors "pr104482" } */
9 __attribute__ ((altivec (vector__))) int vsi;
11 double
12 testXXPERMDI (void)
14 return __builtin_vsx_xxpermdi (vsi, vsi, 2, 4);