diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/recip-divf.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/recip-divf.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/recip-divf.c b/gcc/testsuite/gcc.target/i386/recip-divf.c new file mode 100644 index 000000000..b4447d33a --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/recip-divf.c @@ -0,0 +1,9 @@ +/* { dg-do compile } */ +/* { dg-options "-O2 -ffast-math -msse -mfpmath=sse -mrecip" } */ + +float t1(float a, float b) +{ + return a / b; +} + +/* { dg-final { scan-assembler "rcpss" } } */ |