Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.target / i386 / 387-8.c
blob6af895998d0ad3289126c39c6a2eab758c5f5e1d
1 /* Verify that 387 fptan instruction is generated. Also check fptan
2 peephole2 optimizer. */
3 /* { dg-do compile { target i?86-*-* x86_64-*-* } } */
4 /* { dg-require-effective-target ilp32 } */
5 /* { dg-options "-O2 -ffast-math -march=i686" } */
6 /* { dg-final { scan-assembler "fptan" } } */
7 /* { dg-final { scan-assembler-not "fld1" } } */
9 extern double tan (double);
11 double f1(double x)
13 return 1.0 / tan(x);