diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-01-09 13:19:58 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-01-09 13:19:58 +0000 |
commit | 3b1c9927ca6989739a22ee1d9ad7e3cd74964093 (patch) | |
tree | 475f4bad41ec137b120cf9eed1ca4226bef35708 /gcc | |
parent | 867504e66013d99de08cb244ffc911c829b6fb82 (diff) | |
download | gcc-3b1c9927ca6989739a22ee1d9ad7e3cd74964093.zip gcc-3b1c9927ca6989739a22ee1d9ad7e3cd74964093.tar.gz gcc-3b1c9927ca6989739a22ee1d9ad7e3cd74964093.tar.bz2 |
* config/h8300/h8300.h (PREDICATE_CODES): New.
From-SVN: r61109
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/h8300/h8300.h | 23 |
2 files changed, 27 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6b58b1d..d0c1d65 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2003-01-09 Kazu Hirata <kazu@cs.umass.edu> + * config/h8300/h8300.h (PREDICATE_CODES): New. + +2003-01-09 Kazu Hirata <kazu@cs.umass.edu> + * config/h8300/h8300.md (*addsi3_upper): New. (*iorsi3_shift): Likewise. (two splitters): Likewise. diff --git a/gcc/config/h8300/h8300.h b/gcc/config/h8300/h8300.h index 3dc13de..d6148f3 100644 --- a/gcc/config/h8300/h8300.h +++ b/gcc/config/h8300/h8300.h @@ -1299,4 +1299,27 @@ struct cum_arg #define MOVE_RATIO 3 +/* 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}}, \ + {"eqne_operator", {EQ, NE}}, + #endif /* ! GCC_H8300_H */ |