aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arm
diff options
context:
space:
mode:
authorRichard Earnshaw <rearnsha@arm.com>2009-12-05 17:04:39 +0000
committerRichard Earnshaw <rearnsha@gcc.gnu.org>2009-12-05 17:04:39 +0000
commit3fc604fcde4296e2a261de078c63efa30df3b3c9 (patch)
treec927aa5125cc1f66e6071ea0995eefcb8edef09d /gcc/config/arm
parent2e6623d8fadb64f50348bc88bd45e2a444a6a7d1 (diff)
downloadgcc-3fc604fcde4296e2a261de078c63efa30df3b3c9.zip
gcc-3fc604fcde4296e2a261de078c63efa30df3b3c9.tar.gz
gcc-3fc604fcde4296e2a261de078c63efa30df3b3c9.tar.bz2
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
Diffstat (limited to 'gcc/config/arm')
-rw-r--r--gcc/config/arm/thumb2.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/arm/thumb2.md b/gcc/config/arm/thumb2.md
index 82f75f9..cd317f1 100644
--- a/gcc/config/arm/thumb2.md
+++ b/gcc/config/arm/thumb2.md
@@ -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")