blob: f2b8abe2e0831a893b1f2517b4170d05c8070e10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/* Verify that overloaded built-ins for vec_abs with long long
inputs produce the right results. */
/* { dg-do compile } */
/* { dg-options "-mvsx -O2" } */
/* { dg-additional-options "-mdejagnu-cpu=power8" { target { ! has_arch_pwr8 } } } */
/* { dg-require-effective-target powerpc_vsx } */
#include <altivec.h>
vector signed long long
test3 (vector signed long long x)
{
return vec_abs (x);
}
/* scan-assembler stanzas moved to fold-vec-abs-longlong.p*.c . */
|