blob: 4fb3fbe8664573826d9bfcde063dbd59ec764fbc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* 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. */
|