This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] opcodes: blackfin: fix decoding of vector shift insn w/saturation
- From: Mike Frysinger <vapier at gentoo dot org>
- To: binutils at sourceware dot org
- Cc: Robin Getz <robin dot getz at analog dot com>
- Date: Tue, 21 Sep 2010 04:51:42 -0400
- Subject: [PATCH] opcodes: blackfin: fix decoding of vector shift insn w/saturation
From: Robin Getz <robin.getz@analog.com>
The saturation bit was missed when decoding a vector shift insn
leading to the output looking the same as the non-saturating insn.
Signed-off-by: Robin Getz <robin.getz@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-09-21 Robin Getz <robin.getz@analog.com>
* bfin-dis.c (decode_dsp32shiftimm_0): Add missing "S" flag.
---
opcodes/bfin-dis.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/opcodes/bfin-dis.c b/opcodes/bfin-dis.c
index f124f14..a510db1 100644
--- a/opcodes/bfin-dis.c
+++ b/opcodes/bfin-dis.c
@@ -4461,7 +4461,7 @@ decode_dsp32shiftimm_0 (TIword iw0, TIword iw1, disassemble_info *outf)
OUTS (outf, dregs (src1));
OUTS (outf, " >>> ");
OUTS (outf, imm5 (-immag));
- OUTS (outf, " (V)");
+ OUTS (outf, " (V, S)");
}
else if (sop == 2 && sopcde == 1 && bit8 == 1)
{
--
1.7.2