[Bug gas/25848] cmpi to local label produces wrong code on 68000
https://sourceware.org/bugzilla/show_bug.cgi?id=25848 --- Comment #6 from Andreas Schwab --- CMP only accepts ,Dn. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gas/25848] cmpi to local label produces wrong code on 68000
https://sourceware.org/bugzilla/show_bug.cgi?id=25848 Thorsten Otto changed: What|Removed |Added CC||ad...@tho-otto.de --- Comment #5 from Thorsten Otto --- There still seems to be a problem. A cmp #8,0(pc) is now rejected for 68000, although the restriction only applies to cmpi, not cmp. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gas/25848] cmpi to local label produces wrong code on 68000
https://sourceware.org/bugzilla/show_bug.cgi?id=25848 --- Comment #4 from Vincent Rivière --- Many thanks, Andreas I have just tested latest m68k-elf-as from Git, it works well, now. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gas/25848] cmpi to local label produces wrong code on 68000
https://sourceware.org/bugzilla/show_bug.cgi?id=25848 Andreas Schwab changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED --- Comment #3 from Andreas Schwab --- Fixed for 2.35. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gas/25848] cmpi to local label produces wrong code on 68000
https://sourceware.org/bugzilla/show_bug.cgi?id=25848 --- Comment #2 from cvs-commit at gcc dot gnu.org --- The master branch has been updated by Andreas Schwab : https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bb2a1453479dfa2589f3b62853d4e1cf60825e98 commit bb2a1453479dfa2589f3b62853d4e1cf60825e98 Author: Andreas Schwab Date: Sat Apr 18 14:32:39 2020 +0200 Disallow PC relative for CMPI on MC68000/10 The MC68000/10 decodes the second operand of CMPI strictly as destination operand, which disallows PC relative addressing, even though the insn doesn't write to the operand. This restriction has only been lifted for the MC68020+ and CPU32. opcodes: PR 25848 * m68k-opc.c (m68k_opcodes): Allow pc-rel for second operand of cmpi only on m68020up and cpu32. gas: PR 25848 * testsuite/gas/m68k/operands.s: Add tests for cmpi. * testsuite/gas/m68k/operands.d: Update. * testsuite/gas/m68k/op68000.d: Update for new error messages. -- You are receiving this mail because: You are on the CC list for the bug.
[Bug gas/25848] cmpi to local label produces wrong code on 68000
https://sourceware.org/bugzilla/show_bug.cgi?id=25848 --- Comment #1 from Vincent Rivière --- Workaround: Make the label weak, so gas is forced to use external, absolute addressing mode. .weak lab lab: cmpi.w #1,lab -- You are receiving this mail because: You are on the CC list for the bug.