2011-04-27 Nick Clifton <nickc@redhat.com>
+ * config/frv/frv.h (enum reg_class): Delete EVEN_ACC_REGS,
+ ACC_REGS, FEVEN_REGS, FPR_REGS, EVEN_REGS.
+ (REG_CLASS_NAMES): Likewise.
+ (REG_CLASS_CONTENTS): Likewise.
+ (EVEN_ACC_REGS): New macro. Alias for QUAD_ACC_REGS.
+ (ACC_REGS): New macro. Alias for QUAD_ACC_REGS.
+ (FEVEN_REGS): New macro. Alias for QUAD_ACC_REGS.
+ (FPR_REGS): New macro. Alias for QUAD_ACC_REGS.
+ (EVEN_REGS): New macro. Alias for QUAD_REGS.
+ * config/frv/frv.c (frv_secondary_reload_class): Remove use of
+ duplicate register classes.
+ (frv_class_likely_spileld_p): Likewise.
+ (frv_register_move_cost): Likewise.
+
* config/mcore/mcore.h (REGNO_REG_CLASS): Do not index beyond the
end of the regno_reg_class array.
FDPIC_CALL_REGS,
SPR_REGS,
QUAD_ACC_REGS,
- EVEN_ACC_REGS,
- ACC_REGS,
ACCG_REGS,
QUAD_FPR_REGS,
- FEVEN_REGS,
- FPR_REGS,
QUAD_REGS,
- EVEN_REGS,
GPR_REGS,
ALL_REGS,
LIM_REG_CLASSES
"FDPIC_CALL_REGS", \
"SPR_REGS", \
"QUAD_ACC_REGS", \
- "EVEN_ACC_REGS", \
- "ACC_REGS", \
"ACCG_REGS", \
"QUAD_FPR_REGS", \
- "FEVEN_REGS", \
- "FPR_REGS", \
"QUAD_REGS", \
- "EVEN_REGS", \
"GPR_REGS", \
"ALL_REGS" \
}
{ 0x0000c000,0x00000000,0x00000000,0x00000000,0x00000000,0x0}, /* FDPIC_CALL_REGS */\
{ 0x00000000,0x00000000,0x00000000,0x00000000,0x00000000,0x1e00}, /* SPR_REGS */\
{ 0x00000000,0x00000000,0x00000000,0x00000000,0x0fff0000,0x0}, /* QUAD_ACC */\
- { 0x00000000,0x00000000,0x00000000,0x00000000,0x0fff0000,0x0}, /* EVEN_ACC */\
- { 0x00000000,0x00000000,0x00000000,0x00000000,0x0fff0000,0x0}, /* ACC_REGS */\
{ 0x00000000,0x00000000,0x00000000,0x00000000,0xf0000000,0xff}, /* ACCG_REGS*/\
{ 0x00000000,0x00000000,0xffffffff,0xffffffff,0x00000000,0x0}, /* QUAD_FPR */\
- { 0x00000000,0x00000000,0xffffffff,0xffffffff,0x00000000,0x0}, /* FEVEN_REG*/\
- { 0x00000000,0x00000000,0xffffffff,0xffffffff,0x00000000,0x0}, /* FPR_REGS */\
{ 0x0ffffffc,0xffffffff,0x00000000,0x00000000,0x00000000,0x0}, /* QUAD_REGS*/\
- { 0xfffffffc,0xffffffff,0x00000000,0x00000000,0x00000000,0x0}, /* EVEN_REGS*/\
{ 0xffffffff,0xffffffff,0x00000000,0x00000000,0x00000000,0x100}, /* GPR_REGS */\
{ 0xffffffff,0xffffffff,0xffffffff,0xffffffff,0xffffffff,0x1fff}, /* ALL_REGS */\
}
+#define EVEN_ACC_REGS QUAD_ACC_REGS
+#define ACC_REGS QUAD_ACC_REGS
+#define FEVEN_REGS QUAD_FPR_REGS
+#define FPR_REGS QUAD_FPR_REGS
+#define EVEN_REGS QUAD_REGS
+
/* A C expression whose value is a register class containing hard register
REGNO. In general there is more than one such class; choose a class which
is "minimal", meaning that no smaller class also contains the register. */