[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/25848] cmpi to local label produces wrong code on 68000
From: |
cvs-commit at gcc dot gnu.org |
Subject: |
[Bug gas/25848] cmpi to local label produces wrong code on 68000 |
Date: |
Tue, 21 Apr 2020 14:55:58 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=25848
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot
gnu.org> ---
The master branch has been updated by Andreas Schwab <address@hidden>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=bb2a1453479dfa2589f3b62853d4e1cf60825e98
commit bb2a1453479dfa2589f3b62853d4e1cf60825e98
Author: Andreas Schwab <address@hidden>
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.