Commit c55a59cc by Geoffrey Keating Committed by Geoffrey Keating

darwin.h (PREFERRED_RELOAD_CLASS): Always return a subset of the input class.

	* config/rs6000/darwin.h (PREFERRED_RELOAD_CLASS): Always return
	a subset of the input class.

From-SVN: r71128
parent e7f115de
2003-09-05 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/darwin.h (PREFERRED_RELOAD_CLASS): Always return
a subset of the input class.
2003-09-05 Kazu Hirata <kazu@cs.umass.edu> 2003-09-05 Kazu Hirata <kazu@cs.umass.edu>
* config/i860/i860.c: Follow spelling conventions. * config/i860/i860.c: Follow spelling conventions.
......
...@@ -245,16 +245,17 @@ do { \ ...@@ -245,16 +245,17 @@ do { \
a SYMBOL_REF. */ a SYMBOL_REF. */
#undef PREFERRED_RELOAD_CLASS #undef PREFERRED_RELOAD_CLASS
#define PREFERRED_RELOAD_CLASS(X,CLASS) \ #define PREFERRED_RELOAD_CLASS(X,CLASS) \
(((GET_CODE (X) == CONST_DOUBLE \ ((GET_CODE (X) == CONST_DOUBLE \
&& GET_MODE_CLASS (GET_MODE (X)) == MODE_FLOAT) \ && GET_MODE_CLASS (GET_MODE (X)) == MODE_FLOAT) \
? NO_REGS \ ? NO_REGS \
: (GET_MODE_CLASS (GET_MODE (X)) == MODE_INT \ : ((GET_CODE (X) == SYMBOL_REF || GET_CODE (X) == HIGH) \
&& (CLASS) == NON_SPECIAL_REGS) \ && reg_class_subset_p (BASE_REGS, (CLASS))) \
? GENERAL_REGS \ ? BASE_REGS \
: (GET_CODE (X) == SYMBOL_REF || GET_CODE (X) == HIGH) \ : (GET_MODE_CLASS (GET_MODE (X)) == MODE_INT \
? BASE_REGS \ && (CLASS) == NON_SPECIAL_REGS) \
: (CLASS))) ? GENERAL_REGS \
: (CLASS))
/* Fix for emit_group_load (): force large constants to be pushed via regs. */ /* Fix for emit_group_load (): force large constants to be pushed via regs. */
#define ALWAYS_PUSH_CONSTS_USING_REGS_P 1 #define ALWAYS_PUSH_CONSTS_USING_REGS_P 1
......
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