Commit 4a692617 by Nick Clifton Committed by Nick Clifton

Use MODE_BASE_REG_CLASS in legitimize macros.

From-SVN: r48798
parent 9566a90c
2002-01-12 Nick Clifton <nickc@cambridge.redhat.com>
* config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use
MODE_BASE_REG_CLASS.
(THUMB_LEGITIMIZE_RELOAD_ADDRESS): Use MODE_BASE_REG_CLASS.
2002-01-12 Richard Henderson <rth@redhat.com> 2002-01-12 Richard Henderson <rth@redhat.com>
* config/i386/i386.c (override_options): If SSE, enable sse prefetch. * config/i386/i386.c (override_options): If SSE, enable sse prefetch.
......
...@@ -1287,8 +1287,8 @@ enum reg_class ...@@ -1287,8 +1287,8 @@ enum reg_class
GEN_INT (high)), \ GEN_INT (high)), \
GEN_INT (low)); \ GEN_INT (low)); \
push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL, \ push_reload (XEXP (X, 0), NULL_RTX, &XEXP (X, 0), NULL, \
BASE_REG_CLASS, GET_MODE (X), VOIDmode, 0, 0, \ MODE_BASE_REG_CLASS (MODE), GET_MODE (X), \
OPNUM, TYPE); \ VOIDmode, 0, 0, OPNUM, TYPE); \
goto WIN; \ goto WIN; \
} \ } \
} \ } \
...@@ -1314,7 +1314,7 @@ enum reg_class ...@@ -1314,7 +1314,7 @@ enum reg_class
rtx orig_X = X; \ rtx orig_X = X; \
X = copy_rtx (X); \ X = copy_rtx (X); \
push_reload (orig_X, NULL_RTX, &X, NULL, \ push_reload (orig_X, NULL_RTX, &X, NULL, \
BASE_REG_CLASS, \ MODE_BASE_REG_CLASS (MODE), \
Pmode, VOIDmode, 0, 0, OPNUM, TYPE); \ Pmode, VOIDmode, 0, 0, OPNUM, TYPE); \
goto WIN; \ goto WIN; \
} \ } \
......
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