From 0889116d34c9afe7c6bb0368f0c246bd1a59c28d Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 29 Jan 2003 22:04:57 +0000 Subject: [PATCH] h8300.h (PREDICATE_CODES): Add entries for general_operand_src and general_operand_dst. * config/h8300/h8300.h (PREDICATE_CODES): Add entries for general_operand_src and general_operand_dst. From-SVN: r62110 --- gcc/ChangeLog | 13 +++++++++---- gcc/config/h8300/h8300.h | 42 ++++++++++++++++++++++------------------ 2 files changed, 32 insertions(+), 23 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b7349d851dc..991b3645330 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-01-29 Kazu Hirata + + * config/h8300/h8300.h (PREDICATE_CODES): Add entries for + general_operand_src and general_operand_dst. + 2003-01-29 David Edelsohn * config/rs6000/rs6000.c (function_arg_pass_by_reference): @@ -13,24 +18,24 @@ (LEGITIMIZE_ADDRESS, THUMB_LEGITIMIZE_ADDRESS): Wrap with do ... while (0) -2003-01-29 Joel Sherrill +2003-01-29 Joel Sherrill * gthr-rtems.h: Define __GTHREAD_MUTEX_INIT. Apparently no code depended on it being defined until now. This was tracked as PR9296. -2003-01-13 Joel Sherrill +2003-01-13 Joel Sherrill * config/mips/rtems.h: Predefine __USE_INIT_FINI__ so generic RTEMS code knows which C++ initialization style the toolset configuration is using. This was tracked as PR9295. -2003-01-29 Joel Sherrill +2003-01-29 Joel Sherrill * config/m68k/t-crtstuff: Replace spaces with tabs, add $(MULTILIB_CFLAGS) as compiler option and multilib crtbegin/end.o. This issue was tracked as PR9293. -2003-01-29 Joel Sherrill +2003-01-29 Joel Sherrill * config.gcc (hppa1.1-rtems): Did not include t-rtems nor enable RTEMS threads. diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index 70e8b6601ee..9ff5ca536e7 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -1270,25 +1270,29 @@ struct cum_arg /* Define the codes that are matched by predicates in h8300.c. */ -#define PREDICATE_CODES \ - {"single_one_operand", {CONST_INT}}, \ - {"single_zero_operand", {CONST_INT}}, \ - {"call_insn_operand", {MEM}}, \ - {"small_call_insn_operand", {MEM}}, \ - {"jump_address_operand", {REG, MEM}}, \ - {"two_insn_adds_subs_operand", {CONST_INT}}, \ - {"bit_operand", {REG, SUBREG, MEM}}, \ - {"bit_memory_operand", {MEM}}, \ - {"stack_pointer_operand", {REG}}, \ - {"const_int_le_2_operand", {CONST_INT}}, \ - {"const_int_le_6_operand", {CONST_INT}}, \ - {"const_int_gt_2_operand", {CONST_INT}}, \ - {"const_int_ge_8_operand", {CONST_INT}}, \ - {"const_int_qi_operand", {CONST_INT}}, \ - {"const_int_hi_operand", {CONST_INT}}, \ - {"incdec_operand", {CONST_INT}}, \ - {"bit_operator", {XOR, AND, IOR}}, \ - {"nshift_operator", {ASHIFTRT, LSHIFTRT, ASHIFT}}, \ +#define PREDICATE_CODES \ + {"general_operand_src", {CONST_INT, CONST_DOUBLE, CONST, SYMBOL_REF, \ + LABEL_REF, SUBREG, REG, MEM, ADDRESSOF}}, \ + {"general_operand_dst", {CONST_INT, CONST_DOUBLE, CONST, SYMBOL_REF, \ + LABEL_REF, SUBREG, REG, MEM, ADDRESSOF}}, \ + {"single_one_operand", {CONST_INT}}, \ + {"single_zero_operand", {CONST_INT}}, \ + {"call_insn_operand", {MEM}}, \ + {"small_call_insn_operand", {MEM}}, \ + {"jump_address_operand", {REG, MEM}}, \ + {"two_insn_adds_subs_operand", {CONST_INT}}, \ + {"bit_operand", {REG, SUBREG, MEM}}, \ + {"bit_memory_operand", {MEM}}, \ + {"stack_pointer_operand", {REG}}, \ + {"const_int_le_2_operand", {CONST_INT}}, \ + {"const_int_le_6_operand", {CONST_INT}}, \ + {"const_int_gt_2_operand", {CONST_INT}}, \ + {"const_int_ge_8_operand", {CONST_INT}}, \ + {"const_int_qi_operand", {CONST_INT}}, \ + {"const_int_hi_operand", {CONST_INT}}, \ + {"incdec_operand", {CONST_INT}}, \ + {"bit_operator", {XOR, AND, IOR}}, \ + {"nshift_operator", {ASHIFTRT, LSHIFTRT, ASHIFT}}, \ {"eqne_operator", {EQ, NE}}, #endif /* ! GCC_H8300_H */ -- 2.30.2