Commit 9fd54896 by Doug Evans

(REG_ALLOC_ORDER): Restore to original setting.

From-SVN: r13858
parent 4d6c607f
......@@ -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
......
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