summaryrefslogtreecommitdiff
path: root/gcc/config/m32r/m32r.md
diff options
context:
space:
mode:
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-09 11:02:07 +0000
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>2002-01-09 11:02:07 +0000
commitccd9e27d2c85f87f1668021ae9a6bd01ffbdc5ad (patch)
treed9eaa3c02200ecda1b4ca6631f63e1451c9f27c2 /gcc/config/m32r/m32r.md
parent628420cbdd21608a34e8729ba29292a42f34c546 (diff)
downloadgcc-ccd9e27d2c85f87f1668021ae9a6bd01ffbdc5ad.tar.gz
* config/m32r/m32r.c (move_src_operand): Fix 32-bit int test.
* config/m32r/m32r.md (and ior xor splitters): Swap operands to match insn patterns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48679 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m32r/m32r.md')
-rw-r--r--gcc/config/m32r/m32r.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/m32r/m32r.md b/gcc/config/m32r/m32r.md
index 2d10057f0f3..a8e28db0ba9 100644
--- a/gcc/config/m32r/m32r.md
+++ b/gcc/config/m32r/m32r.md
@@ -1032,7 +1032,7 @@
(match_operand:SI 2 "int8_operand" "")))]
"optimize_size && m32r_not_same_reg (operands[0], operands[1])"
[(set (match_dup 0) (match_dup 2))
- (set (match_dup 0) (and:SI (match_dup 1) (match_dup 0)))]
+ (set (match_dup 0) (and:SI (match_dup 0) (match_dup 1)))]
"")
(define_insn "iorsi3"
@@ -1064,7 +1064,7 @@
(match_operand:SI 2 "int8_operand" "")))]
"optimize_size && m32r_not_same_reg (operands[0], operands[1])"
[(set (match_dup 0) (match_dup 2))
- (set (match_dup 0) (ior:SI (match_dup 1) (match_dup 0)))]
+ (set (match_dup 0) (ior:SI (match_dup 0) (match_dup 1)))]
"")
(define_insn "xorsi3"
@@ -1096,7 +1096,7 @@
(match_operand:SI 2 "int8_operand" "")))]
"optimize_size && m32r_not_same_reg (operands[0], operands[1])"
[(set (match_dup 0) (match_dup 2))
- (set (match_dup 0) (xor:SI (match_dup 1) (match_dup 0)))]
+ (set (match_dup 0) (xor:SI (match_dup 0) (match_dup 1)))]
"")
(define_insn "negsi2"