aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/mips-ps-type.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.target/mips/mips-ps-type.c')
-rw-r--r--gcc/testsuite/gcc.target/mips/mips-ps-type.c5
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" } } */