summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-09 13:19:58 +0000
committerkazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4>2003-01-09 13:19:58 +0000
commitb2589b50be72f512fbfea4b8189eb074b20f361a (patch)
tree475f4bad41ec137b120cf9eed1ca4226bef35708
parentb104dcf8da17d29b3f01034b97e4c532f0d0ff08 (diff)
downloadppe42-gcc-b2589b50be72f512fbfea4b8189eb074b20f361a.tar.gz
ppe42-gcc-b2589b50be72f512fbfea4b8189eb074b20f361a.zip
* config/h8300/h8300.h (PREDICATE_CODES): New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61109 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/h8300/h8300.h23
2 files changed, 27 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6b58b1d2c30..d0c1d65a74d 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 3dc13dea98a..d6148f35fba 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 */
OpenPOWER on IntegriCloud