| 1 |
/* { dg-do compile { target { powerpc*-*-* } } } */ |
| 2 |
/* { dg-options "-mdejagnu-cpu=power8 -mvsx -S -mno-cmpb" } */ |
| 3 |
/* { dg-require-effective-target powerpc_vsx } */ |
| 4 |
|
| 5 |
float testf (float x, float y) |
| 6 |
{ |
| 7 |
return __builtin_copysignf (x, y); |
| 8 |
} |
| 9 |
|