* config/bfin-parse.y (check_macfunc_option): Fix instruction
authorJie Zhang <jie.zhang@analog.com>
Tue, 26 Aug 2008 10:03:24 +0000 (10:03 +0000)
committerJie Zhang <jie.zhang@analog.com>
Tue, 26 Aug 2008 10:03:24 +0000 (10:03 +0000)
commit6429b084782c31cb40056a47eead0b65796b4d1e
tree98fc78ced869a7ab472583b41a5db7017e7d1eb5
parente584b8a1b7a384a194614e73f1243f8828588f9e
* config/bfin-parse.y (check_macfunc_option): Fix instruction
mode checking.
(asm_1): Check mode for 16-bit multiply instructions.

testsuite/
* gas/bfin/arith_mode.d: New test.
* gas/bfin/arith_mode.s: New test.
* gas/bfin/invalid_arith_mode.l: New test.
* gas/bfin/invalid_arith_mode.s: New test.
* gas/bfin/bfin.exp: Add arith_mode and invalid_arith_mode.
gas/ChangeLog
gas/config/bfin-parse.y
gas/testsuite/ChangeLog
gas/testsuite/gas/bfin/arith_mode.d [new file with mode: 0644]
gas/testsuite/gas/bfin/arith_mode.s [new file with mode: 0644]
gas/testsuite/gas/bfin/bfin.exp
gas/testsuite/gas/bfin/invalid_arith_mode.l [new file with mode: 0644]
gas/testsuite/gas/bfin/invalid_arith_mode.s [new file with mode: 0644]