diff options
author | Ben Elliston <bje@gcc.gnu.org> | 2006-01-18 06:57:14 +1100 |
---|---|---|
committer | Ben Elliston <bje@gcc.gnu.org> | 2006-01-18 06:57:14 +1100 |
commit | fc0d1c49a1975c4cb4d9d5cb69c18dc2113e7bb0 (patch) | |
tree | bbe6d15e0457f11b91a1a4b29e565d2ec158b137 | |
parent | badb0b073471d32b94f57fcce96d94827a25f8a0 (diff) | |
download | gcc-fc0d1c49a1975c4cb4d9d5cb69c18dc2113e7bb0.zip gcc-fc0d1c49a1975c4cb4d9d5cb69c18dc2113e7bb0.tar.gz gcc-fc0d1c49a1975c4cb4d9d5cb69c18dc2113e7bb0.tar.bz2 |
predicates.md (reg_or_mem_operand): Pair up match_code "mem" with match_test "macho_lo_sum_memory_operand".
* config/rs6000/predicates.md (reg_or_mem_operand): Pair up
match_code "mem" with match_test "macho_lo_sum_memory_operand".
From-SVN: r109835
-rw-r--r-- | gcc/ChangeLog | 9 | ||||
-rw-r--r-- | gcc/config/rs6000/predicates.md | 8 |
2 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca2c555..eb684fb 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-01-18 Ben Elliston <bje@au.ibm.com> + + * config/rs6000/predicates.md (reg_or_mem_operand): Pair up + match_code "mem" with match_test "macho_lo_sum_memory_operand". + 2006-01-17 Jakub Jelinek <jakub@redhat.com> PR c/25682 @@ -161,9 +166,9 @@ * config/m68k/m68k.c (output_move_const_into_data_reg): Output correct mnemonic for mvz and mvs. -2006-01-16 Gabor Loki <loki@gcc.gnu.org> +2006-01-16 Gabor Loki <loki@gcc.gnu.org> - * rtl-factoring.c : Add sequence abstraction algorithm. + * rtl-factoring.c: Add sequence abstraction algorithm. * cfgcleanup.c (outgoing_edges_match): Extra checks. (try_crossjump_to_edge): Avoid deleting preserve label when redirecting ABNORMAL edges. diff --git a/gcc/config/rs6000/predicates.md b/gcc/config/rs6000/predicates.md index de31fe2..8d24d8f 100644 --- a/gcc/config/rs6000/predicates.md +++ b/gcc/config/rs6000/predicates.md @@ -620,11 +620,11 @@ ;; Return 1 if the operand is a general non-special register or memory operand. (define_predicate "reg_or_mem_operand" - (if_then_else (match_code "mem") (ior (match_operand 0 "memory_operand") - (ior (match_test "macho_lo_sum_memory_operand (op, mode)") - (match_operand 0 "volatile_mem_operand"))) - (match_operand 0 "gpc_reg_operand"))) + (ior (and (match_code "mem") + (match_test "macho_lo_sum_memory_operand (op, mode)")) + (ior (match_operand 0 "volatile_mem_operand") + (match_operand 0 "gpc_reg_operand"))))) ;; Return 1 if the operand is either an easy FP constant or memory or reg. (define_predicate "reg_or_none500mem_operand" |