I have checked in this patch to fix PR target/81613.
Andreas.
PR target/81613
* config/m68k/m68k.md (moveq feeding equality comparison): Check
that the registers are different.
---
gcc/config/m68k/m68k.md | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
The yearly m68k day or two of bugfixing for the retro-computing folks is
under way. It's earlier than last year, so I can do more than just fix
regressions.
This BZ is a simple request to optimize sequences like:
moveq #1,%d1
cmp.l %d0, %d1
beq/bne
into
subq.l #1, %d0
beq/bne
When d0/d1 ar