* Re: [Bug target/77570] New: [msp430-elf] Wrong assembly in delay_cycles_32x insn declaration
[not found] <bug-77570-4@http.gcc.gnu.org/bugzilla/>
@ 2016-09-12 21:45 ` DJ Delorie
0 siblings, 0 replies; only message in thread
From: DJ Delorie @ 2016-09-12 21:45 UTC (permalink / raw)
To: gcc-patches
Patch applied as per bug report...
2016-09-12 Orlando Arias <oarias@knights.ucf.edu>
PR target/77570
* config/msp430/msp430.md (delay_cycles_32x): Fix pushm/popm.
Index: config/msp430/msp430.md
===================================================================
--- config/msp430/msp430.md (revision 240100)
+++ config/msp430/msp430.md (revision 240101)
@@ -1456,21 +1456,21 @@
(define_insn "delay_cycles_32x"
[(unspec_volatile [(match_operand 0 "immediate_operand" "i")
(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
SUBC.W #0, r14
JNE 1b
TST.W r13
JNE 1b
- POPM.A #2,r13"
+ POPM.A #2,r14"
)
(define_insn "delay_cycles_16"
[(unspec_volatile [(match_operand 0 "immediate_operand" "i")
(match_operand 1 "immediate_operand" "i")
] UNS_DELAY_16)]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-09-12 21:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <bug-77570-4@http.gcc.gnu.org/bugzilla/>
2016-09-12 21:45 ` [Bug target/77570] New: [msp430-elf] Wrong assembly in delay_cycles_32x insn declaration DJ Delorie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).