Skip to content

Commit

Permalink
thumb2.md (thumb2_mulsi_short_compare0): Use a low-register for the s…
Browse files Browse the repository at this point in the history
…cratch.

	* arm/thumb2.md (thumb2_mulsi_short_compare0): Use a low-register
	for the scratch.

From-SVN: r155011
  • Loading branch information
Richard Earnshaw authored and Richard Earnshaw committed Dec 5, 2009
1 parent 2e6623d commit 3fc604f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions gcc/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2009-12-05 Richard Earnshaw <[email protected]>

* arm/thumb2.md (thumb2_mulsi_short_compare0): Use a low-register
for the scratch.

2009-12-04 David Daney <[email protected]>

PR rtl-optimization/42164
Expand Down
2 changes: 1 addition & 1 deletion gcc/config/arm/thumb2.md
Original file line number Diff line number Diff line change
Expand Up @@ -1310,7 +1310,7 @@
(mult:SI (match_operand:SI 1 "register_operand" "%0")
(match_operand:SI 2 "register_operand" "l"))
(const_int 0)))
(clobber (match_scratch:SI 0 "=r"))]
(clobber (match_scratch:SI 0 "=l"))]
"TARGET_THUMB2 && optimize_size"
"muls\\t%0, %2, %0"
[(set_attr "length" "2")
Expand Down

0 comments on commit 3fc604f

Please sign in to comment.