OSDN Git Service

gas: blackfin: fix encoding of BYTEOP2M insn
authorvapier <vapier>
Fri, 15 Oct 2010 20:44:45 +0000 (20:44 +0000)
committervapier <vapier>
Fri, 15 Oct 2010 20:44:45 +0000 (20:44 +0000)
commitba427c8f3f2681977f1e4bfa19fa2200332be7db
tree62305550a4c421ffcf9e8d0732ae502c21251d2e
parent1e5f8c79fd16178228c19330f81ac75bd0ee91f6
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