m68k: fix constraints of move.[bw] for ISA_B/C
authorAndreas Schwab <schwab@linux-m68k.org>
Fri, 8 Jan 2016 10:38:00 +0000 (11:38 +0100)
committerAndreas Schwab <schwab@linux-m68k.org>
Fri, 8 Jan 2016 10:42:10 +0000 (11:42 +0100)
commit83c3256ef5afe10625fd55dda2df5fc56b9b7393
tree5a00903aaff4ac87e1b440fc5983d6dc47eb6e14
parent109575d7ebac21a0eb67980001ecd4173d696f88
m68k: fix constraints of move.[bw] for ISA_B/C

For ISA_B/C only the combination #,d(An) is allowed in addition to the
ISA_A combinations for move.b and move.w (and pc-relative is never
allowed as destination).

opcodes/
PR gas/13050
* m68k-opc.c (moveb, movew): For ISA_B/C only allow #,d(An) in
addition to ISA_A.

gas/
PR gas/13050
* testsuite/gas/m68k/all.exp: Add tests p13050-1 and p13050-2.
* testsuite/gas/m68k/p13050-1.s: New file.
* testsuite/gas/m68k/p13050-2.d: New file.
* testsuite/gas/m68k/p13050-2.s: New file.
gas/ChangeLog
gas/testsuite/gas/m68k/all.exp
gas/testsuite/gas/m68k/p13050-1.s [new file with mode: 0644]
gas/testsuite/gas/m68k/p13050-2.d [new file with mode: 0644]
gas/testsuite/gas/m68k/p13050-2.s [new file with mode: 0644]
opcodes/ChangeLog
opcodes/m68k-opc.c
This page took 0.02492 seconds and 4 git commands to generate.