Shrink-wrapping tests on ARM had one additional failure, which I could
track down to a stmfd instruction being emitted where an stmhifd was
intended. The following patch fixes the testcase; full tests running
now. Ok?


Bernd
        * config/arm/arm.md (push_multi): Emit predicates.

Index: gcc/config/arm/arm.md
===================================================================
--- gcc/config/arm/arm.md       (revision 178135)
+++ gcc/config/arm/arm.md       (working copy)
@@ -10581,14 +10581,14 @@ (define_insn "*push_multi"
        In Thumb mode always use push, and the assembler will pick
        something appropriate.  */
     if (num_saves == 1 && TARGET_ARM)
-      output_asm_insn (\"str\\t%1, [%m0, #-4]!\", operands);
+      output_asm_insn (\"str%?\\t%1, [%m0, #-4]!\", operands);
     else
       {
        int i;
        char pattern[100];
 
        if (TARGET_ARM)
-           strcpy (pattern, \"stmfd\\t%m0!, {%1\");
+           strcpy (pattern, \"stm%(fd%)\\t%m0!, {%1\");
        else
            strcpy (pattern, \"push\\t{%1\");
 

Reply via email to