gas: blackfin: fix encoding of BYTEOP2M insn
commitf12d0ee6f229ec8f6704711e31a312c8414764d2
authorMike Frysinger <vapier@gentoo.org>
Fri, 15 Oct 2010 20:44:45 +0000 (15 20:44 +0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 15 Oct 2010 20:44:45 +0000 (15 20:44 +0000)
treeb68f869218cd5da0ac87bf7e67a6baa999c1ccb9
parente4c2a6c2bfb0f00e0f7232b1a4af04cd0ff3d807
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