From: Ben Elliston Date: Tue, 17 Jan 2006 19:57:14 +0000 (+1100) Subject: predicates.md (reg_or_mem_operand): Pair up match_code "mem" with match_test "macho_l... X-Git-Tag: releases/gcc-4.2.0~4811 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc0d1c49a1975c4cb4d9d5cb69c18dc2113e7bb0;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ca2c55534c9d..eb684fbe8ffe 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2006-01-18 Ben Elliston + + * 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 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 +2006-01-16 Gabor Loki - * 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 de31fe2e54f2..8d24d8f74c58 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"