diff options
author | Bernd Schmidt <bernd.schmidt@analog.com> | 2008-03-26 16:21:10 +0000 |
---|---|---|
committer | Bernd Schmidt <bernd.schmidt@analog.com> | 2008-03-26 16:21:10 +0000 |
commit | 5a39261ae8a54113a32e3bdff316a20c36b8bd90 (patch) | |
tree | 855349c1d3faf099c9128996501783ebb0840703 /opcodes/bfin-dis.c | |
parent | fc34fa59b9f974682b42575927f25cc95002e9ab (diff) | |
download | binutils-redhat-5a39261ae8a54113a32e3bdff316a20c36b8bd90.tar.gz |
gas/
* config/bfin-parse.y (check_macfunc_option): Allow (IU)
option for multiply and multiply-accumulate to data register
instruction.
(check_macfuncs): Don't check if accumulator matches the data register
here.
(assign_macfunc): Check if accumulator matches the
data register in each rule that moves to the data
register.
gas/testsuite/
* gas/bfin/arithmetic.s, gas/bfin/arithmetic.d: Add check
for IU option.
* gas/bfin/expected_errors.l, gas/bfin/expected_errors.s:
Add check for mismatch of accumulator and data register.
opcodes/
* bfin-dis.c (decode_dsp32mac_0): Decode (IU) option for
multiply and multiply-accumulate to data register instruction.
Diffstat (limited to 'opcodes/bfin-dis.c')
-rw-r--r-- | 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 09152ee60a..046027e120 100644 --- a/opcodes/bfin-dis.c +++ b/opcodes/bfin-dis.c @@ -2755,7 +2755,7 @@ decode_dsp32mac_0 (TIword iw0, TIword iw1, disassemble_info *outf) if ((w1 || w0) && mmod == M_W32) return 0; - if (((1 << mmod) & (P ? 0x31b : 0x1b5f)) == 0) + if (((1 << mmod) & (P ? 0x131b : 0x1b5f)) == 0) return 0; if (w1 == 1 || op1 != 3) |