alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition of new GP reg classes.

* config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
	of new GP reg classes.

From-SVN: r46807
This commit is contained in:
Richard Kenner 2001-11-06 14:27:58 +00:00 committed by Richard Kenner
parent 9e446a5c1e
commit bfd82dbfc7
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,8 @@
Tue Nov 6 09:21:34 2001 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config/alpha/alpha.h (SECONDARY_MEMORY_NEEDED): Adjust for addition
of new GP reg classes.
* expr.c (store_field): When making temp object for unaligned
component, set it to alias set 0.

View File

@ -879,7 +879,8 @@ enum reg_class {
location unless the FIX extension is available. */
#define SECONDARY_MEMORY_NEEDED(CLASS1,CLASS2,MODE) \
(! TARGET_FIX && (CLASS1) != (CLASS2))
(! TARGET_FIX && (((CLASS1) == FLOAT_REGS && (CLASS2) != FLOAT_REGS) \
|| ((CLASS2) == FLOAT_REGS && (CLASS1) != FLOAT_REGS)))
/* Specify the mode to be used for memory when a secondary memory
location is needed. If MODE is floating-point, use it. Otherwise,