OSDN Git Service

gas/:
authorbernds <bernds>
Wed, 26 Mar 2008 15:58:27 +0000 (15:58 +0000)
committerbernds <bernds>
Wed, 26 Mar 2008 15:58:27 +0000 (15:58 +0000)
commitff15c9527b4a2e0365e46f5473472db7f4e63f4a
tree3da2a6bee982b3177b97146d4cd446ace4e86265
parentb30d4d704e34db8e9b9dc152d82b0b05756b2d0c
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