aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Evans <dje@gnu.org>1997-04-11 20:52:56 +0000
committerDoug Evans <dje@gnu.org>1997-04-11 20:52:56 +0000
commit9fd54896c102649d2ebbb8fdff871bc08afc3058 (patch)
treeda9adc862289f61683e8ae6ab76edaad45c1c055
parent4d6c607f2e7c6a0a443e33356eaf2bcd5ff8eb17 (diff)
downloadgcc-9fd54896c102649d2ebbb8fdff871bc08afc3058.zip
gcc-9fd54896c102649d2ebbb8fdff871bc08afc3058.tar.gz
gcc-9fd54896c102649d2ebbb8fdff871bc08afc3058.tar.bz2
(REG_ALLOC_ORDER): Restore to original setting.
From-SVN: r13858
-rw-r--r--gcc/config/m32r/m32r.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/gcc/config/m32r/m32r.h b/gcc/config/m32r/m32r.h
index e199ff9..78259fa 100644
--- a/gcc/config/m32r/m32r.h
+++ b/gcc/config/m32r/m32r.h
@@ -453,14 +453,10 @@ if (GET_MODE_CLASS (MODE) == MODE_INT \
/* If defined, an initializer for a vector of integers, containing the
numbers of hard registers in the order in which GNU CC should
prefer to use them (from most preferred to least). */
-/* FIXME: revisit.
- GCC seemed very poor at optimizing register allocations for libcalls.
- By ordering the regs according to function arguments, all problems were
- alleviated. Leave changed for now but revisit again in awhile. */
-#if 0
+#if 1 /* better for int code */
#define REG_ALLOC_ORDER \
{ 4, 5, 6, 7, 2, 3, 8, 9, 10, 11, 12, 13, 14, 0, 1, 15, 16, 17 }
-#else
+#else /* better for fp code at expense of int code */
#define REG_ALLOC_ORDER \
{ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17 }
#endif