From 8b8b768cb4c99a771b7016017f7ac6b51a0a6af0 Mon Sep 17 00:00:00 2001 From: rearnsha Date: Sat, 5 Dec 2009 17:04:39 +0000 Subject: [PATCH] * arm/thumb2.md (thumb2_mulsi_short_compare0): Use a low-register for the scratch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155011 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/thumb2.md | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f01968c..81fbc6b 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2009-12-05 Richard Earnshaw + + * arm/thumb2.md (thumb2_mulsi_short_compare0): Use a low-register + for the scratch. + 2009-12-04 David Daney PR rtl-optimization/42164 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") -- 2.7.4