OSDN Git Service

gas/:
authorBernd Schmidt <bernd.schmidt@analog.com>
Wed, 26 Mar 2008 15:58:27 +0000 (15:58 +0000)
committerBernd Schmidt <bernd.schmidt@analog.com>
Wed, 26 Mar 2008 15:58:27 +0000 (15:58 +0000)
commit14569648c87f36ffea94eecf7a639b293d5cfff0
tree193e1b33a19f221752fd3c2b4544dc445274a29f
parent2544b92bbe60e000e3f3ff2263f8bf5170ae4082
gas/:
* config/bfin-parse.y (check_macfunc_option): New.
  (check_macfuncs): Check option by calling check_macfunc_option.
Fix comparison always true warnings.  Both scalar instructions
of vector instruction must share the same mode option.  Only allow
option mode at the end of the second instruction of the vector.
  (asm_1): Check option by calling check_macfunc_option.

gas/testsuite/:
* gas/bfin/expected_errors.l, gas/bfin/expected_errors.s: Add
tests for bad options of "multiply and multipy-accumulate to
accumulator" instructions.  Add new vector instruction option
mode tests.
* gas/bfin/vector2.s: Add new vector instruction option mode test.
* gas/bfin/vector2.d: Adjust accordingly.

* gas/bfin/expected_errors.s, gas/bfin/expected_errors.l: Add test
for mismatched half registers in vector multipy-accumulate
instructions.
gas/ChangeLog
gas/config/bfin-parse.y
gas/testsuite/ChangeLog
gas/testsuite/gas/bfin/expected_errors.l
gas/testsuite/gas/bfin/expected_errors.s
gas/testsuite/gas/bfin/vector2.d
gas/testsuite/gas/bfin/vector2.s