summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/quad-sse.c
blob: 4b6fe792575b12d8f91346f01ad8e4e870bff91a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/* { dg-do compile } */
/* { dg-options "-O2 -msse2" } */

__float128 x, y;

__float128 test_1(void)
{
  return -x;
}

__float128 test_2(void)
{
  return __builtin_fabsq (x);
}

__float128 test_3(void)
{
  return __builtin_copysignq (x, y);
}

/* { dg-final { scan-assembler-not "call.*(neg|fabs|copysign)" } } */