mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 14:49:38 +08:00
opcodes: blackfin: fix decoding of LSHIFT insns
The Blackfin ISA does not have a "SHIFT" insn, it has either LSHIFT, ASHIFT, or BXORSHIFT. So be specific when disassembling. As fall out of this change, we need to update some assembler tests. Signed-off-by: Robin Getz <robin.getz@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
@ -4054,7 +4054,7 @@ decode_dsp32shift_0 (TIword iw0, TIword iw1, disassemble_info *outf)
|
||||
else if (sop == 2 && sopcde == 2)
|
||||
{
|
||||
OUTS (outf, dregs (dst0));
|
||||
OUTS (outf, " = SHIFT ");
|
||||
OUTS (outf, " = LSHIFT ");
|
||||
OUTS (outf, dregs (src1));
|
||||
OUTS (outf, " BY ");
|
||||
OUTS (outf, dregs_lo (src0));
|
||||
@ -4070,7 +4070,7 @@ decode_dsp32shift_0 (TIword iw0, TIword iw1, disassemble_info *outf)
|
||||
else if (sop == 2 && sopcde == 1)
|
||||
{
|
||||
OUTS (outf, dregs (dst0));
|
||||
OUTS (outf, " = SHIFT ");
|
||||
OUTS (outf, " = LSHIFT ");
|
||||
OUTS (outf, dregs (src1));
|
||||
OUTS (outf, " BY ");
|
||||
OUTS (outf, dregs_lo (src0));
|
||||
|
Reference in New Issue
Block a user