blob: 817c9a74a4736f228a882e56a6df3659c762c8c2 [file] [log] [blame]
/* PR target/62055 */
/* { dg-do compile } */
/* { dg-options "-O2 -msse2 -mfpmath=sse" } */
float testf (float a)
{
return -__builtin_fabsf (a);
}
double test (double a)
{
return -__builtin_fabs (a);
}
__float128 testq (__float128 a)
{
return -__builtin_fabsq (a);
}
/* { dg-final { scan-assembler-times "\tv?orp\[sd\]\[ \t\]" 2 } } */
/* { dg-final { scan-assembler-times "\tv?por\[ \t\]" 1 } } */