gas: blackfin: fix encoding of BYTEOP2M insn
authorMike Frysinger <vapier@gentoo.org>
Fri, 15 Oct 2010 20:44:46 +0000 (20:44 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 15 Oct 2010 20:44:46 +0000 (20:44 +0000)
commite1791cb8b5fa2b3688101452b11420908224f9bc
tree0ed20111dcc0b796c0bd3bdfc39966ee0758e534
parent6ccfe592c6fa585688b4be29561e3eb762e77eec
gas: blackfin: fix encoding of BYTEOP2M insn

The BYTEOP2M parser incorrectly calls BYTEOP2P to generate the opcode.
Once we've fixed that, it's easy to see that the disassembler also likes
to decode this insn incorrectly.  So fix that and then add some tests.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
gas/ChangeLog
gas/config/bfin-parse.y
gas/testsuite/ChangeLog
gas/testsuite/gas/bfin/video.d
gas/testsuite/gas/bfin/video.s
gas/testsuite/gas/bfin/video2.d
gas/testsuite/gas/bfin/video2.s
opcodes/ChangeLog
opcodes/bfin-dis.c