diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/i386/fpcvt-3.c')
-rw-r--r-- | gcc/testsuite/gcc.target/i386/fpcvt-3.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/testsuite/gcc.target/i386/fpcvt-3.c b/gcc/testsuite/gcc.target/i386/fpcvt-3.c new file mode 100644 index 00000000000..f47cd70ed9a --- /dev/null +++ b/gcc/testsuite/gcc.target/i386/fpcvt-3.c @@ -0,0 +1,9 @@ +/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ +/* { dg-options "-O2 -msse2 -march=k8" } */ +/* { dg-final { scan-assembler-not "cvtss2sd" } } */ +extern double fabs (double); +float a,b; +main() +{ + a=fabs(b)+1.0; +} |