1 /* Verify that overloaded built-ins for vec_abs with char
2 inputs produce the right code. */
4 /* { dg-do compile } */
5 /* { dg-require-effective-target powerpc_altivec_ok } */
6 /* { dg-options "-maltivec -O2" } */
11 test2 (vector
signed char x
)
16 /* { dg-final { scan-assembler-times "vspltisw|vxor|xxspltib" 1 } } */
17 /* { dg-final { scan-assembler-times "vsububm" 1 } } */
18 /* { dg-final { scan-assembler-times "vmaxsb" 1 } } */