summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-17 19:57:14 +0000
committerbje <bje@138bc75d-0d04-0410-961f-82ee72b054a4>2006-01-17 19:57:14 +0000
commit45e39f4992c86a46b7eecb256818ffcb9f833324 (patch)
treebbe6d15e0457f11b91a1a4b29e565d2ec158b137 /gcc
parent7339674224a7b74c479453bf36eeb5ad1f1f3a6c (diff)
downloadgcc-45e39f4992c86a46b7eecb256818ffcb9f833324.tar.gz
* config/rs6000/predicates.md (reg_or_mem_operand): Pair up
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog9
-rw-r--r--gcc/config/rs6000/predicates.md8
2 files changed, 11 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index ca2c55534c9..eb684fbe8ff 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 de31fe2e54f..8d24d8f74c5 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"