diff options
Diffstat (limited to 'gcc/testsuite/gcc.target/mips/mips-ps-type.c')
-rw-r--r-- | gcc/testsuite/gcc.target/mips/mips-ps-type.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gcc/testsuite/gcc.target/mips/mips-ps-type.c b/gcc/testsuite/gcc.target/mips/mips-ps-type.c index cd5566fcbfa..aca3625ab78 100644 --- a/gcc/testsuite/gcc.target/mips/mips-ps-type.c +++ b/gcc/testsuite/gcc.target/mips/mips-ps-type.c @@ -1,6 +1,7 @@ -/* Test v2sf calculations */ +/* Test v2sf calculations. The nmadd and nmsub patterns need + -ffinite-math-only. */ /* { dg-do compile } */ -/* { dg-mips-options "-mips64 -O2 -mpaired-single -mhard-float -mgp64" } */ +/* { dg-mips-options "-mips64 -O2 -mpaired-single -mhard-float -mgp64 -ffinite-math-only" } */ /* { dg-final { scan-assembler "cvt.ps.s" } } */ /* { dg-final { scan-assembler "mov.ps" } } */ /* { dg-final { scan-assembler "ldc1" } } */ |