* config/rs6000/predicates.md (reg_or_mem_operand): Pair up
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jan 2006 19:57:14 +0000 (19:57 +0000)
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 17 Jan 2006 19:57:14 +0000 (19:57 +0000)
match_code "mem" with match_test "macho_lo_sum_memory_operand".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@109835 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/predicates.md

index ca2c555..eb684fb 100644 (file)
@@ -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
        * 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.
index de31fe2..8d24d8f 100644 (file)
 
 ;; 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"