OSDN Git Service

gas/
authorBernd Schmidt <bernd.schmidt@analog.com>
Wed, 26 Mar 2008 16:21:10 +0000 (16:21 +0000)
committerBernd Schmidt <bernd.schmidt@analog.com>
Wed, 26 Mar 2008 16:21:10 +0000 (16:21 +0000)
commit5a39261ae8a54113a32e3bdff316a20c36b8bd90
tree855349c1d3faf099c9128996501783ebb0840703
parentfc34fa59b9f974682b42575927f25cc95002e9ab
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.
gas/ChangeLog
gas/config/bfin-parse.y
gas/testsuite/ChangeLog
gas/testsuite/gas/bfin/arithmetic.d
gas/testsuite/gas/bfin/arithmetic.s
gas/testsuite/gas/bfin/expected_errors.l
gas/testsuite/gas/bfin/expected_errors.s
opcodes/ChangeLog
opcodes/bfin-dis.c