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