diff options
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/config/m68k/m68k.h | 15 |
2 files changed, 19 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d1bad13..fc3db52 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2002-06-11 Andreas Schwab <schwab@suse.de> + + * config/m68k/m68k.h (PREDICATE_CODES): Define. + 2002-06-11 Eric Christopher <echristo@redhat.com> * doc/tm.texi (Run-time Target): Add comment about flag_iso diff --git a/gcc/config/m68k/m68k.h b/gcc/config/m68k/m68k.h index de84969..fb71457 100644 --- a/gcc/config/m68k/m68k.h +++ b/gcc/config/m68k/m68k.h @@ -1943,6 +1943,21 @@ extern int m68k_align_funcs; extern int m68k_last_compare_had_fp_operands; +/* Define the codes that are matched by predicates in m68k.c. */ + +#define PREDICATE_CODES \ + {"general_src_operand", {CONST_INT, CONST_DOUBLE, CONST, SYMBOL_REF, \ + LABEL_REF, SUBREG, REG, MEM}}, \ + {"nonimmediate_src_operand", {SUBREG, REG, MEM}}, \ + {"memory_src_operand", {SUBREG, MEM}}, \ + {"not_sp_operand", {SUBREG, REG, MEM}}, \ + {"pcrel_address", {SYMBOL_REF, LABEL_REF, CONST}}, \ + {"const_uint32_operand", {CONST_INT, CONST_DOUBLE}}, \ + {"const_sint32_operand", {CONST_INT}}, \ + {"valid_dbcc_comparison_p", {EQ, NE, GTU, LTU, GEU, LEU, \ + GT, LT, GE, LE}}, \ + {"extend_operator", {SIGN_EXTEND, ZERO_EXTEND}}, + /* Local variables: version-control: t |