From c9819d22705d43ced3c05763172812061cdddce9 Mon Sep 17 00:00:00 2001 From: Matthew Fortune Date: Thu, 9 Mar 2017 17:18:41 +0000 Subject: [PATCH] Use -mhard-float for MIPS -mlxc1-sxc1 tests gcc/testsuite/ * gcc.target/mips/lxc1-sxc1-1.c: Use -mhard-float. * gcc.target/mips/lxc1-sxc1-2.c: Likewise. From-SVN: r246011 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/mips/lxc1-sxc1-1.c | 2 +- gcc/testsuite/gcc.target/mips/lxc1-sxc1-2.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3da89cd3c6b..bc2bc4a5437 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2017-03-09 Matthew Fortune + + * gcc.target/mips/lxc1-sxc1-1.c: Use -mhard-float. + * gcc.target/mips/lxc1-sxc1-2.c: Likewise. + 2017-03-09 Marek Polacek PR sanitizer/79757 diff --git a/gcc/testsuite/gcc.target/mips/lxc1-sxc1-1.c b/gcc/testsuite/gcc.target/mips/lxc1-sxc1-1.c index f455eb8776a..72722585c4d 100644 --- a/gcc/testsuite/gcc.target/mips/lxc1-sxc1-1.c +++ b/gcc/testsuite/gcc.target/mips/lxc1-sxc1-1.c @@ -1,4 +1,4 @@ -/* { dg-options "(HAS_LXC1) -mno-lxc1-sxc1" } */ +/* { dg-options "(HAS_LXC1) -mhard-float -mno-lxc1-sxc1" } */ /* { dg-final { scan-assembler-not "\tldxc1\t" } } */ /* { dg-final { scan-assembler-not "\tsdxc1\t" } } */ diff --git a/gcc/testsuite/gcc.target/mips/lxc1-sxc1-2.c b/gcc/testsuite/gcc.target/mips/lxc1-sxc1-2.c index dfbf6b5c170..317252b3959 100644 --- a/gcc/testsuite/gcc.target/mips/lxc1-sxc1-2.c +++ b/gcc/testsuite/gcc.target/mips/lxc1-sxc1-2.c @@ -1,4 +1,4 @@ -/* { dg-options "(HAS_LXC1) -mlxc1-sxc1" } */ +/* { dg-options "(HAS_LXC1) -mhard-float -mlxc1-sxc1" } */ /* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */ /* { dg-final { scan-assembler "\tldxc1\t" } } */ -- 2.30.2