summaryrefslogtreecommitdiff
path: root/gcc/genpreds.c
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-13 10:27:46 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2004-12-13 10:27:46 +0000
commit78c3d8630d22da5cc73d2b36a6da5f94324928ca (patch)
tree6fb4c6cae8b04ae0fce348340e79e59f328881fa /gcc/genpreds.c
parent6d6df621e4a00d49226c5da9bf0bc4c80f1c9978 (diff)
downloadgcc-78c3d8630d22da5cc73d2b36a6da5f94324928ca.tar.gz
* Makefile.in (insn-preds.o): Depend on REGS_H.
* genpreds.c (write_insn_preds_c): Include regs.h. * config/i386/predicates.md (index_register_operand): Use REG_OK_FOR_INDEX_STRICT_P and REG_OK_FOR_INDEX_NONSTRICT_P. * config/i386/i386.h (REG_CLASS_FROM_LETTER): Add 'l'. * config/i386/i386.md (lea_general_1, lea_general_1_zext, lea_general_2, lea_general_2_zext, lea_general_3, lea_general_3_zext, adddi_1_rex64, addsi_1, addsi_1_zext, addhi_1_lea, addqi_1_lea, ashldi3_1_rex64, ashlsi3_1, ashlsi3_1_zext, ashlhi3_1_lea, ashlqi3_1_lea): Use 'l' for index register operand. (ashldi3_1_rex64 splitter): Use index_register_operand. (ashlsi3_1 splitter): Be more careful with modes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92080 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genpreds.c')
-rw-r--r--gcc/genpreds.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/genpreds.c b/gcc/genpreds.c
index 1eebc331c30..874925de998 100644
--- a/gcc/genpreds.c
+++ b/gcc/genpreds.c
@@ -437,7 +437,8 @@ write_insn_preds_c (void)
#include \"hard-reg-set.h\"\n\
#include \"resource.h\"\n\
#include \"toplev.h\"\n\
-#include \"reload.h\"\n");
+#include \"reload.h\"\n\
+#include \"regs.h\"\n");
FOR_ALL_PREDICATES (p)
write_one_predicate_function (p);