Skip to content

Commit 3fc604f

Browse files
Richard EarnshawRichard Earnshaw
Richard Earnshaw
authored and
Richard Earnshaw
committed
thumb2.md (thumb2_mulsi_short_compare0): Use a low-register for the scratch.
* arm/thumb2.md (thumb2_mulsi_short_compare0): Use a low-register for the scratch. From-SVN: r155011
1 parent 2e6623d commit 3fc604f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

gcc/ChangeLog

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2009-12-05 Richard Earnshaw <[email protected]>
2+
3+
* arm/thumb2.md (thumb2_mulsi_short_compare0): Use a low-register
4+
for the scratch.
5+
16
2009-12-04 David Daney <[email protected]>
27

38
PR rtl-optimization/42164

gcc/config/arm/thumb2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1310,7 +1310,7 @@
13101310
(mult:SI (match_operand:SI 1 "register_operand" "%0")
13111311
(match_operand:SI 2 "register_operand" "l"))
13121312
(const_int 0)))
1313-
(clobber (match_scratch:SI 0 "=r"))]
1313+
(clobber (match_scratch:SI 0 "=l"))]
13141314
"TARGET_THUMB2 && optimize_size"
13151315
"muls\\t%0, %2, %0"
13161316
[(set_attr "length" "2")

0 commit comments

Comments
 (0)