summaryrefslogtreecommitdiff
path: root/gcc/config/arm/thumb2.md
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-20 23:00:00 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2008-11-20 23:00:00 +0000
commit65c2ada9915de680c17f1ebe5a011120a6ff22e1 (patch)
tree3c6522df4aec5170c23983191a41294f42faea28 /gcc/config/arm/thumb2.md
parent9db3092323e87ab3f5b79d845c5370755bd5db7b (diff)
downloadgcc-65c2ada9915de680c17f1ebe5a011120a6ff22e1.tar.gz
* config/arm/thumb2.md (thumb2_casesi_internal,
thumb2_casesi_internal_pic): Use earlyclobber for scratch operand 4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@142070 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/arm/thumb2.md')
-rw-r--r--gcc/config/arm/thumb2.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/arm/thumb2.md b/gcc/config/arm/thumb2.md
index 3278b63f015..14b52d0af84 100644
--- a/gcc/config/arm/thumb2.md
+++ b/gcc/config/arm/thumb2.md
@@ -949,7 +949,7 @@
(label_ref (match_operand 2 "" ""))))
(label_ref (match_operand 3 "" ""))))
(clobber (reg:CC CC_REGNUM))
- (clobber (match_scratch:SI 4 "=r"))
+ (clobber (match_scratch:SI 4 "=&r"))
(use (label_ref (match_dup 2)))])]
"TARGET_THUMB2 && !flag_pic"
"* return thumb2_output_casesi(operands);"
@@ -966,7 +966,7 @@
(label_ref (match_operand 2 "" ""))))
(label_ref (match_operand 3 "" ""))))
(clobber (reg:CC CC_REGNUM))
- (clobber (match_scratch:SI 4 "=r"))
+ (clobber (match_scratch:SI 4 "=&r"))
(clobber (match_scratch:SI 5 "=r"))
(use (label_ref (match_dup 2)))])]
"TARGET_THUMB2 && flag_pic"