blob: 05787160b005008471fa67fdcfe73db669c5c8b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* Verify that 387 fptan instruction is generated. Also check fptan
peephole2 optimizer. */
/* { dg-do compile { target "i?86-*-*" } } */
/* { dg-options "-O2 -ffast-math -march=i686" } */
/* { dg-final { scan-assembler "fptan" } } */
/* { dg-final { scan-assembler-not "fld1" } } */
double f1(double x)
{
return 1.0 / tan(x);
}
|