gas/:
authorBernd Schmidt <bernds@codesourcery.com>
Wed, 26 Mar 2008 15:58:27 +0000 (15:58 +0000)
committerBernd Schmidt <bernds@codesourcery.com>
Wed, 26 Mar 2008 15:58:27 +0000 (15:58 +0000)
commitc1db045b89dfb593a18aabb0e2b868b7b717d940
treecb4832d099de0596f0728a5ce982de40ed8d7eea
parent99bfa74a539321b7c476a33880f9afa04d69894a
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