Commit f90dd02d by Richard Sandiford Committed by Richard Sandiford

mips.exp (setup_mips_tests): Fix _MIPS_SIM conditions.

gcc/testsuite/
	* gcc.target/mips/mips.exp (setup_mips_tests): Fix _MIPS_SIM
	conditions.
	(dg-mips-options): Treat -march=24k* as a 32-bit option.

From-SVN: r131119
parent 5557aad2
2007-12-21 Richard Sandiford <rsandifo@nildram.co.uk>
* gcc.target/mips/mips.exp (setup_mips_tests): Fix _MIPS_SIM
conditions.
(dg-mips-options): Treat -march=24k* as a 32-bit option.
2007-12-20 Jack Howarth <howarth@bromo.med.uc.edu> 2007-12-20 Jack Howarth <howarth@bromo.med.uc.edu>
* gcc.dg/torture/builtin-modf-1.c: Pass "-funsafe-math-optimizations * gcc.dg/torture/builtin-modf-1.c: Pass "-funsafe-math-optimizations
...@@ -93,11 +93,11 @@ proc setup_mips_tests {} { ...@@ -93,11 +93,11 @@ proc setup_mips_tests {} {
#endif #endif
#if !defined _MIPS_SIM #if !defined _MIPS_SIM
const char *abi = "eabi"; const char *abi = "eabi";
#elif _MIPS_SIM=_ABIO32 #elif _MIPS_SIM==_ABIO32
const char *abi = "32"; const char *abi = "32";
#elif _MIPS_SIM=_ABIO64 #elif _MIPS_SIM==_ABIO64
const char *abi = "o64"; const char *abi = "o64";
#elif _MIPS_SIM=_ABIN32 #elif _MIPS_SIM==_ABIN32
const char *abi = "n32"; const char *abi = "n32";
#else #else
const char *abi = "64"; const char *abi = "64";
...@@ -242,6 +242,7 @@ proc dg-mips-options {args} { ...@@ -242,6 +242,7 @@ proc dg-mips-options {args} {
-mips[12] - -mips[12] -
-mips32* - -mips32* -
-march=mips32* - -march=mips32* -
-march=24k* -
-mabi=32 - -mabi=32 -
-mgp32 { -mgp32 {
set mips_new_gp 32 set mips_new_gp 32
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment