diff options
author | Kazu Hirata <kazu@gcc.gnu.org> | 2003-01-29 22:04:57 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-01-29 22:04:57 +0000 |
commit | 0889116d34c9afe7c6bb0368f0c246bd1a59c28d (patch) | |
tree | 6fdcac67e0b3d6653f7b211a0cbc128a88281591 | |
parent | be5a07ac0145404878abc5629b081cba8c9b6452 (diff) | |
download | gcc-0889116d34c9afe7c6bb0368f0c246bd1a59c28d.zip gcc-0889116d34c9afe7c6bb0368f0c246bd1a59c28d.tar.gz gcc-0889116d34c9afe7c6bb0368f0c246bd1a59c28d.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 13 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.h | 42 |
2 files changed, 32 insertions, 23 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b7349d8..991b364 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2003-01-29 Kazu Hirata <kazu@cs.umass.edu> + + * config/h8300/h8300.h (PREDICATE_CODES): Add entries for + general_operand_src and general_operand_dst. + 2003-01-29 David Edelsohn <edelsohn@gnu.org> * 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 <joel@OARcorp.com> +2003-01-29 Joel Sherrill <joel@OARcorp.com> * 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 <joel@OARcorp.com> +2003-01-13 Joel Sherrill <joel@OARcorp.com> * 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 <joel@OARcorp.com> +2003-01-29 Joel Sherrill <joel@OARcorp.com> * 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 <joel@OARcorp.com> +2003-01-29 Joel Sherrill <joel@OARcorp.com> * 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 70e8b6601..9ff5ca5 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 */ |