summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/math-torture/lfloor.c
blob: 2c2e96f2e538398a1e90778e96e9abedaf671b97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* { dg-do assemble } */

long testlf (float x)
{
  return __builtin_lfloorf (x);
}
long testl (double x)
{
  return __builtin_lfloor (x);
}
long testll (long double x)
{
  return __builtin_lfloorl (x);
}
long long testllf (float x)
{
  return __builtin_llfloorf (x);
}
long long testll_ (double x)
{
  return __builtin_llfloor (x);
}
long long testlll (long double x)
{
  return __builtin_llfloorl (x);
}