re PR target/77570 ([msp430-elf] Wrong assembly in delay_cycles_32x insn declaration)
authorOrlando Arias <oarias@knights.ucf.edu>
Mon, 12 Sep 2016 21:27:48 +0000 (21:27 +0000)
committerDJ Delorie <dj@gcc.gnu.org>
Mon, 12 Sep 2016 21:27:48 +0000 (17:27 -0400)
2016-09-12  Orlando Arias  <oarias@knights.ucf.edu>
PR target/77570
* config/msp430/msp430.md (delay_cycles_32x): Fix pushm/popm.

From-SVN: r240101

gcc/ChangeLog
gcc/config/msp430/msp430.md

index a12f3d8..1247b90 100644 (file)
@@ -1,3 +1,8 @@
+2016-09-12  Orlando Arias  <oarias@knights.ucf.edu>
+
+       PR target/77570
+       * config/msp430/msp430.md (delay_cycles_32x): Fix pushm/popm.
+
 2016-09-12  Marek Polacek  <polacek@redhat.com>
 
        * doc/extend.texi: Use lowercase "boolean".
index bdec202..720dd7c 100644 (file)
                     (match_operand 1 "immediate_operand" "i")
                     ] UNS_DELAY_32X)]
   ""
-  "PUSHM.A     #2,r13
+  "PUSHM.A     #2,r14
        MOV.W   %A0, r13
        MOV.W   %B0, r14
 1:     SUB.W   #1, r13
        JNE     1b
        TST.W   r13
        JNE     1b
-       POPM.A  #2,r13"
+       POPM.A  #2,r14"
   )
 
 (define_insn "delay_cycles_16"