summaryrefslogtreecommitdiff
path: root/gcc/config/m32r
diff options
context:
space:
mode:
authornickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-07 11:57:47 +0000
committernickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4>2005-09-07 11:57:47 +0000
commita68c63cb7409397805e6f9c8d917bd9998204e40 (patch)
treed3a7743f14958942978532e6a52cf28da8e533c7 /gcc/config/m32r
parent16f40b30f53a8bbd2b405c24a7830f9b8be8387e (diff)
downloadgcc-a68c63cb7409397805e6f9c8d917bd9998204e40.tar.gz
PR target/23747
* config/m32r.md (movmemsi_internal): Canonicalize order of operands in PLUS component of template. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@103987 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m32r')
-rw-r--r--gcc/config/m32r/m32r.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/m32r/m32r.md b/gcc/config/m32r/m32r.md
index ac2fee1d271..9b35d14f74f 100644
--- a/gcc/config/m32r/m32r.md
+++ b/gcc/config/m32r/m32r.md
@@ -2558,8 +2558,8 @@
(mem:BLK (match_operand:SI 1 "register_operand" "r"))) ;; source
(use (match_operand:SI 2 "m32r_block_immediate_operand" "J"));; # bytes to move
(set (match_operand:SI 3 "register_operand" "=0")
- (plus:SI (match_dup 0)
- (minus (match_dup 2) (const_int 4))))
+ (plus:SI (minus (match_dup 2) (const_int 4))
+ (match_dup 0)))
(set (match_operand:SI 4 "register_operand" "=1")
(plus:SI (match_dup 1)
(match_dup 2)))