/* Verify that overloaded built-ins for vec_abs with int | |
inputs produce the right results. */ | |
/* { dg-do compile } */ | |
/* { dg-require-effective-target powerpc_altivec_ok } */ | |
/* { dg-options "-maltivec -O2" } */ | |
#include <altivec.h> | |
vector signed int | |
test1 (vector signed int x) | |
{ | |
return vec_abs (x); | |
} | |
/* scan-assembler entries moved to fold-vec-abs-int.p*.c files. */ |