aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-09-22 21:41:39 +0000
committerMike Frysinger <vapier@gentoo.org>2010-09-22 21:41:39 +0000
commit0b7691fd6ec26dfb326e9c35cf4c5b157d3998df (patch)
tree85f7bc44eaa241939391c60887408d78bca06476
parentb2459327a660d444dfe4832d31d7b5ec2d5c2ba2 (diff)
downloadbinutils-0b7691fd6ec26dfb326e9c35cf4c5b157d3998df.zip
binutils-0b7691fd6ec26dfb326e9c35cf4c5b157d3998df.tar.gz
binutils-0b7691fd6ec26dfb326e9c35cf4c5b157d3998df.tar.bz2
opcodes: blackfin: fix decoding of vector shift insn w/saturation
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>
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/bfin-dis.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 5ffc5c9..3067e3c 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2010-09-22 Robin Getz <robin.getz@analog.com>
+
+ * bfin-dis.c (decode_dsp32shiftimm_0): Add missing "S" flag.
+
2010-09-22 Mike Frysinger <vapier@gentoo.org>
* bfin-dis.c (decode_CC2stat_0): Decode all ASTAT bits.
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)
{