blob: 817c9a74a4736f228a882e56a6df3659c762c8c2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* 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 } } */
|