1 /* Verify that overloaded built-ins for vec_abs with float and
2 double inputs for VSX produce the right results. */
4 /* { dg-do compile } */
5 /* { dg-require-effective-target powerpc_vsx_ok } */
6 /* { dg-options "-mvsx -O2" } */
11 test1 (vector
float x
)
17 test2 (vector
double x
)
22 /* { dg-final { scan-assembler-times "xvabssp" 1 } } */
23 /* { dg-final { scan-assembler-times "xvabsdp" 1 } } */