diff options
author | Stephane Carrez <stcarrez@nerim.fr> | 2003-04-12 17:14:26 +0200 |
---|---|---|
committer | Stephane Carrez <ciceron@gcc.gnu.org> | 2003-04-12 17:14:26 +0200 |
commit | 96cd90694f7fb6a803648bf705858c94ca9a84df (patch) | |
tree | a2452f1a2e20d3df1b1154a6aca74bf32018b2cc /gcc/config | |
parent | c364c3a60d307e78cba573820bfb31b07055d59d (diff) | |
download | gcc-96cd90694f7fb6a803648bf705858c94ca9a84df.zip gcc-96cd90694f7fb6a803648bf705858c94ca9a84df.tar.gz gcc-96cd90694f7fb6a803648bf705858c94ca9a84df.tar.bz2 |
m68hc11.h (TARGET_SWITCHES): Fix -mnominmax option; recognize -mnorelax.
* config/m68hc11/m68hc11.h (TARGET_SWITCHES): Fix -mnominmax option;
recognize -mnorelax.
(reg_class): Add Z_OR_S_REGS to represent soft registers with Z
(REG_CLASS_NAMES): Add its name.
(REG_CLASS_CONTENTS): Define its content.
From-SVN: r65511
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/m68hc11/m68hc11.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/config/m68hc11/m68hc11.h b/gcc/config/m68hc11/m68hc11.h index 9f36afe..cb689cc 100644 --- a/gcc/config/m68hc11/m68hc11.h +++ b/gcc/config/m68hc11/m68hc11.h @@ -181,9 +181,9 @@ extern short *reg_renumber; /* def in local_alloc.c */ N_("Auto pre/post decrement increment allowed")}, \ { "noauto-incdec", - MASK_AUTO_INC_DEC, \ N_("Auto pre/post decrement increment not allowed")}, \ - { "inmax", MASK_MIN_MAX, \ + { "inmax", MASK_MIN_MAX, \ N_("Min/max instructions allowed")}, \ - { "nominmax", MASK_MIN_MAX, \ + { "nominmax", - MASK_MIN_MAX, \ N_("Min/max instructions not allowed")}, \ { "long-calls", MASK_LONG_CALLS, \ N_("Use call and rtc for function calls and returns")}, \ @@ -191,6 +191,8 @@ extern short *reg_renumber; /* def in local_alloc.c */ N_("Use jsr and rts for function calls and returns")}, \ { "relax", MASK_NO_DIRECT_MODE, \ N_("Do not use direct addressing mode for soft registers")},\ + { "norelax", -MASK_NO_DIRECT_MODE, \ + N_("Use direct addressing mode for soft registers")}, \ { "68hc11", MASK_M6811, \ N_("Compile for a 68HC11")}, \ { "68hc12", MASK_M6812, \ @@ -576,6 +578,7 @@ enum reg_class D_OR_S_REGS, /* 16-bit soft register or D register */ X_OR_S_REGS, /* 16-bit soft register or X register */ Y_OR_S_REGS, /* 16-bit soft register or Y register */ + Z_OR_S_REGS, /* 16-bit soft register or Z register */ SP_OR_S_REGS, /* 16-bit soft register or SP register */ D_OR_X_OR_S_REGS, /* 16-bit soft register or D or X register */ D_OR_Y_OR_S_REGS, /* 16-bit soft register or D or Y register */ @@ -622,6 +625,7 @@ enum reg_class "D_OR_S_REGS", \ "X_OR_S_REGS", \ "Y_OR_S_REGS", \ + "Z_OR_S_REGS", \ "SP_OR_S_REGS", \ "D_OR_X_OR_S_REGS", \ "D_OR_Y_OR_S_REGS", \ @@ -690,6 +694,7 @@ enum reg_class /* D_OR_S_REGS */ { 0xFFFFDE02, 0x00007FFF }, /* D _.D */ \ /* X_OR_S_REGS */ { 0xFFFFDE01, 0x00007FFF }, /* X _.D */ \ /* Y_OR_S_REGS */ { 0xFFFFDE04, 0x00007FFF }, /* Y _.D */ \ +/* Z_OR_S_REGS */ { 0xFFFFDF00, 0x00007FFF }, /* Z _.D */ \ /* SP_OR_S_REGS */ { 0xFFFFDE08, 0x00007FFF }, /* SP _.D */ \ /* D_OR_X_OR_S_REGS */ { 0xFFFFDE03, 0x00007FFF }, /* D X _.D */ \ /* D_OR_Y_OR_S_REGS */ { 0xFFFFDE06, 0x00007FFF }, /* D Y _.D */ \ |