Allow the macw and macl instructions to be used on CPUs that have emacs support.
authorNick Clifton <nickc@redhat.com>
Tue, 26 Sep 2017 09:33:32 +0000 (10:33 +0100)
committerNick Clifton <nickc@redhat.com>
Tue, 26 Sep 2017 09:36:23 +0000 (10:36 +0100)
commit58a0b827444d0d6baad47f5fd010f33e541ed16e
treeb5873aa5a65f17196afe877e110506a2fc5da7a5
parent78b2179a8e085b34ad7872450e5fadff4f7e5eb0
Allow the macw and macl instructions to be used on CPUs that have emacs support.

From PR 22123:

  The common opcodes of emac and mac seem to be only implemented for mac.

  To reproduce:

    echo "macw %d3l,%a0l" > /tmp/dummy.S
    m68k-unknown-elf-as -m5208  /tmp/dummy.S

  Outputs something like:
    /tmp/dummy.S: Assembler messages:
    /tmp/dummy.S:1: Error: operands mismatch -- statement `macw %d3l,%a0l' ignored

  This behavior occurs only if the CPU supports only emac but not explicitly mac (but emac is a superset of mac).
opcodes/ChangeLog
opcodes/m68k-opc.c
This page took 0.024426 seconds and 4 git commands to generate.