From 78c3d8630d22da5cc73d2b36a6da5f94324928ca Mon Sep 17 00:00:00 2001 From: rth Date: Mon, 13 Dec 2004 10:27:46 +0000 Subject: * 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 --- gcc/genpreds.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gcc/genpreds.c') 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); -- cgit v1.2.1