]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* arm.md (push_multi): Revert unintended change.
authorRichard Earnshaw <rearnsha@arm.com>
Mon, 9 Oct 2000 20:04:18 +0000 (20:04 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Mon, 9 Oct 2000 20:04:18 +0000 (20:04 +0000)
From-SVN: r36813

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

index 4f04b522e2feda774d7e7b9a24a52bc2808e5486..6acf89c44784c60dcf85d9908ecb4118be155dc7 100644 (file)
@@ -1,3 +1,7 @@
+2000-10-09  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm.md (push_multi): Revert unintended change.
+
 2000-10-09  Richard Earnshaw  <rearnsha@arm.com>
 
        * arm.c: Miscellaneous white space and comment clean-ups.  No 
index b718ea8ff293ad25b0b655ba575f23c49dfaae98..c68dfa75f9df44f83d1ae7a00b4981f2c8a938f0 100644 (file)
      
     /* For the StrongARM at least it is faster to
        use STR to store only a single register.  */
-    if (num_saves == 2)
+    if (num_saves == 1)
       output_asm_insn (\"str\\t%1, [%m0, #-4]!\", operands);
     else
       {
 
        strcpy (pattern, \"stmfd\\t%m0!, {%1\");
 
-       /* We skip the first register, since we can extract that directly from
-          the pattern.  */
-       for (i = 2; i < num_saves; i++)
+       for (i = 1; i < num_saves; i++)
          {
            strcat (pattern, \", %|\");
            strcat (pattern,