aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/rs6000.md
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2005-12-05 17:20:49 +0000
committerPaolo Bonzini <bonzini@gcc.gnu.org>2005-12-05 17:20:49 +0000
commit410c459d48a17a6eeafa87c43820c82613da3e5d (patch)
tree1bfada345814516c5eac0889b2b7e1ecdd0b7e2c /gcc/config/rs6000/rs6000.md
parentafe6d70550d31308858263b7847731292bf06260 (diff)
downloadgcc-410c459d48a17a6eeafa87c43820c82613da3e5d.zip
gcc-410c459d48a17a6eeafa87c43820c82613da3e5d.tar.gz
gcc-410c459d48a17a6eeafa87c43820c82613da3e5d.tar.bz2
predicates.md (logical_const_operand): Split out of logical_operand.
2005-12-05 Paolo Bonzini <bonzini@gnu.org> * config/rs6000/predicates.md (logical_const_operand): Split out of logical_operand. (logical_operand): Use it. * config/rs6000/rs6000.md (cmp -> xor peephole2): Use logical_const_operand. From-SVN: r108065
Diffstat (limited to 'gcc/config/rs6000/rs6000.md')
-rw-r--r--gcc/config/rs6000/rs6000.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/rs6000/rs6000.md b/gcc/config/rs6000/rs6000.md
index 14e1fb8..17d8ef6 100644
--- a/gcc/config/rs6000/rs6000.md
+++ b/gcc/config/rs6000/rs6000.md
@@ -11283,10 +11283,10 @@
(define_peephole2
[(set (match_operand:SI 0 "register_operand")
- (match_operand:SI 1 "logical_operand" ""))
+ (match_operand:SI 1 "logical_const_operand" ""))
(set (match_dup 0) (match_operator:SI 3 "boolean_or_operator"
[(match_dup 0)
- (match_operand:SI 2 "logical_operand" "")]))
+ (match_operand:SI 2 "logical_const_operand" "")]))
(set (match_operand:CC 4 "cc_reg_operand" "")
(compare:CC (match_operand:SI 5 "gpc_reg_operand" "")
(match_dup 0)))