* mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.

From-SVN: r35550
This commit is contained in:
Graham Stott 2000-08-07 11:26:59 +00:00 committed by Alexandre Oliva
parent f8ac5288be
commit a7fef47884
2 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2000-08-07 Graham Stott <grahams@cygnus.co.uk>
* mn10300.h (PREFERRED_RELOAD_CLASS): Limit memory reloads.
2000-08-07 Alexandre Oliva <aoliva@redhat.com>
* sh.h (EXTRA_CONSTRAINT_Q): Adjust to GNU Coding Standards.

View File

@ -379,9 +379,12 @@ enum reg_class {
In general this is just CLASS; but on some machines
in some cases it is preferable to use a more restrictive class. */
#define PREFERRED_RELOAD_CLASS(X,CLASS) \
(X == stack_pointer_rtx && CLASS != SP_REGS \
? ADDRESS_OR_EXTENDED_REGS : CLASS)
#define PREFERRED_RELOAD_CLASS(X,CLASS) \
((X) == stack_pointer_rtx && (CLASS) != SP_REGS \
? ADDRESS_OR_EXTENDED_REGS \
: (GET_CODE (X) == MEM \
? LIMIT_RELOAD_CLASS (GET_MODE (X), CLASS) \
: (CLASS)))
#define PREFERRED_OUTPUT_RELOAD_CLASS(X,CLASS) \
(X == stack_pointer_rtx && CLASS != SP_REGS \