Commit 3b8d200e by Jakub Jelinek Committed by Jakub Jelinek

i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS and INDEX_REGS the same as GENERAL_REGS.

	* config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
	and INDEX_REGS the same as GENERAL_REGS.
	(SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.

From-SVN: r49327
parent 2d3115eb
2002-01-29 Jakub Jelinek <jakub@redhat.com>
* config/i386/i386.h (LIMIT_RELOAD_CLASS): Handle LEGACY_REGS
and INDEX_REGS the same as GENERAL_REGS.
(SECONDARY_OUTPUT_RELOAD_CLASS): Likewise.
2002-01-29 Neil Booth <neil@daikokuya.demon.co.uk>
* tree.c (build_nonstandard_integer_type): Correct prototype.
......
......@@ -1456,7 +1456,8 @@ enum reg_class
#define LIMIT_RELOAD_CLASS(MODE, CLASS) \
((MODE) == QImode && !TARGET_64BIT \
&& ((CLASS) == ALL_REGS || (CLASS) == GENERAL_REGS) \
&& ((CLASS) == ALL_REGS || (CLASS) == GENERAL_REGS \
|| (CLASS) == LEGACY_REGS || (CLASS) == INDEX_REGS) \
? Q_REGS : (CLASS))
/* Given an rtx X being reloaded into a reg required to be
......@@ -1485,7 +1486,8 @@ enum reg_class
pseudo. */
#define SECONDARY_OUTPUT_RELOAD_CLASS(CLASS, MODE, OUT) \
((CLASS) == GENERAL_REGS && !TARGET_64BIT && (MODE) == QImode \
(((CLASS) == GENERAL_REGS || (CLASS) == LEGACY_REGS \
|| (CLASS) == INDEX_REGS) && !TARGET_64BIT && (MODE) == QImode \
? Q_REGS : NO_REGS)
/* Return the maximum number of consecutive registers
......
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