aboutsummaryrefslogtreecommitdiff
path: root/opcodes/bfin-dis.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-02-13 18:55:22 +0000
committerMike Frysinger <vapier@gentoo.org>2011-02-13 18:55:22 +0000
commit13c02f06ff791ad9a09b562b141f07d9cefd52f8 (patch)
treefcc9128f48afe6cca225b320dde9558951d24c88 /opcodes/bfin-dis.c
parent4db663940931db273ab59affa3d2af4cfe1e29e7 (diff)
downloadgdb-13c02f06ff791ad9a09b562b141f07d9cefd52f8.zip
gdb-13c02f06ff791ad9a09b562b141f07d9cefd52f8.tar.gz
gdb-13c02f06ff791ad9a09b562b141f07d9cefd52f8.tar.bz2
opcodes: blackfin: fix decoding of ABS
The single cycle dual mac ABS insn was incorrectly decoding the mac1 part of the insn. Once we fix the decode, update the gas tests to have the correct output. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'opcodes/bfin-dis.c')
-rw-r--r--opcodes/bfin-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/bfin-dis.c b/opcodes/bfin-dis.c
index e7646c9..3932762 100644
--- a/opcodes/bfin-dis.c
+++ b/opcodes/bfin-dis.c
@@ -3476,7 +3476,7 @@ decode_dsp32alu_0 (TIword iw0, TIword iw1, disassemble_info *outf)
OUTS (outf, " = (A0 += A1)");
}
else if (aop == 3 && HL == 0 && aopcde == 16)
- OUTS (outf, "A1 = ABS A0, A0 = ABS A0");
+ OUTS (outf, "A1 = ABS A1, A0 = ABS A0");
else if (aop == 0 && aopcde == 23 && HL == 1)
{