summaryrefslogtreecommitdiff
path: root/gcc/config/m68k
diff options
context:
space:
mode:
authorschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-10 14:40:47 +0000
committerschwab <schwab@138bc75d-0d04-0410-961f-82ee72b054a4>2012-01-10 14:40:47 +0000
commit42720af371a4d9bbedd5f772e06bdcfe5e8f7e97 (patch)
treefc40135e0680ec98b376682c5a020f3070abdd98 /gcc/config/m68k
parent2e3ca6ddea6584ffaff29a4f1004d1c2c8071099 (diff)
downloadgcc-42720af371a4d9bbedd5f772e06bdcfe5e8f7e97.tar.gz
* config/m68k/sync.md ("atomic_compare_and_swap<mode>_1"): Fix
operand number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183067 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/m68k')
-rw-r--r--gcc/config/m68k/sync.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/m68k/sync.md b/gcc/config/m68k/sync.md
index 13e29ec3d1d..a40a5bfe557 100644
--- a/gcc/config/m68k/sync.md
+++ b/gcc/config/m68k/sync.md
@@ -1,5 +1,5 @@
;; GCC machine description for m68k synchronization instructions.
-;; Copyright (C) 2011
+;; Copyright (C) 2011, 2012
;; Free Software Foundation, Inc.
;;
;; This file is part of GCC.
@@ -41,7 +41,7 @@
[(set (match_operand:I 1 "register_operand" "=d")
(unspec_volatile:I
[(match_operand:I 2 "memory_operand" "+m")
- (match_operand:I 3 "register_operand" "0")
+ (match_operand:I 3 "register_operand" "1")
(match_operand:I 4 "register_operand" "d")]
UNSPECV_CAS_1))
(set (match_dup 2)