]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
thumb2.md (thumb2_mulsi_short_compare0): Use a low-register for the scratch.
authorRichard Earnshaw <rearnsha@arm.com>
Sat, 5 Dec 2009 17:04:39 +0000 (17:04 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Sat, 5 Dec 2009 17:04:39 +0000 (17:04 +0000)
* arm/thumb2.md (thumb2_mulsi_short_compare0): Use a low-register
for the scratch.

From-SVN: r155011

gcc/ChangeLog
gcc/config/arm/thumb2.md

index f01968c789c044e4737113fad0a183d7db838255..81fbc6bb35b733e674876e0e8f626c8e53fad18a 100644 (file)
@@ -1,3 +1,8 @@
+2009-12-05  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm/thumb2.md (thumb2_mulsi_short_compare0): Use a low-register
+       for the scratch.
+
 2009-12-04  David Daney  <ddaney@caviumnetworks.com>
 
        PR rtl-optimization/42164
index 82f75f9b7336d183b67f7e52596faac9bc425682..cd317f1eae9ea06886e8e8984dd1705b0fa9d187 100644 (file)
          (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")