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 a12f3d8a15ed72dcff6d43b53f5d77b0d765d12c..1247b9083efd49a3b9a41baa65ba3f8c64b0bc64 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 bdec202660f87ca69e69f75ac644ba01798d0b2b..720dd7cc2ef4d562c996dee76df5adeb1e7dbb82 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"