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_vsx_ok } */
6 /* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx" } */
10 vector
signed long long
11 test3 (vector
signed long long x
)
16 /* { dg-final { scan-assembler-times "vnegd" 1 } } */
17 /* { dg-final { scan-assembler-times "vmaxsd" 1 } } */