From: Toma Tabacu Date: Fri, 4 Nov 2016 16:47:32 +0000 (+0000) Subject: MIPS: Handle -mbranch-likely in testsuite options X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7d2e7b46753eea479159d23b6451c341f6e8f94;p=gcc.git MIPS: Handle -mbranch-likely in testsuite options gcc/testsuite/ * gcc.target/mips/mips.exp (mips-dg-options): Downgrade to R5 for -mbranch-likely, infer -mno-branch-likely for R6. From-SVN: r241850 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 10e6a57474f..eac6f7b09a4 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-11-04 Toma Tobacu + + * gcc.target/mips/mips.exp (mips-dg-options): Downgrade to R5 + for -mbranch-likely, infer -mno-branch-likely for R6. + 2016-11-04 Bernd Edlinger PR c++/71973 diff --git a/gcc/testsuite/gcc.target/mips/mips.exp b/gcc/testsuite/gcc.target/mips/mips.exp index 7c241400b73..39f44ffc9d6 100644 --- a/gcc/testsuite/gcc.target/mips/mips.exp +++ b/gcc/testsuite/gcc.target/mips/mips.exp @@ -1176,7 +1176,8 @@ proc mips-dg-options { args } { || [mips_have_test_option_p options "-mpaired-single"] || [mips_have_test_option_p options "-mnan=legacy"] || [mips_have_test_option_p options "-mabs=legacy"] - || [mips_have_test_option_p options "!HAS_LSA"]) } { + || [mips_have_test_option_p options "!HAS_LSA"] + || [mips_have_test_option_p options "-mbranch-likely"]) } { if { $gp_size == 32 } { mips_make_test_option options "-mips32r5" } else { @@ -1345,6 +1346,7 @@ proc mips-dg-options { args } { mips_make_test_option options "-mno-paired-single" mips_make_test_option options "-mnan=2008" mips_make_test_option options "-mabs=2008" + mips_make_test_option options "-mno-branch-likely" } if { [regexp {^-march=(octeon|loongson)} $arch] } { mips_make_test_option options "-mno-micromips"