]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
LoongArch: Scan all illegal operand instructions without interruption
authorLulu Cai <cailulu@loongson.cn>
Sat, 2 Mar 2024 02:47:42 +0000 (10:47 +0800)
committerliuzhensong <liuzhensong@loongson.cn>
Tue, 12 Mar 2024 09:37:18 +0000 (17:37 +0800)
commit272acb42cfc4e64af4f702f24fbc1de078372c38
tree575bddc7caf66d9d3aa3d02b7d94adfcaaeb0019
parentd8915f27ebb5a794c8ebbebe8ebf1374e2acf629
LoongArch: Scan all illegal operand instructions without interruption

Currently, gas will exit immediately and report an error when
it sees illegal operands, and will not process the remaining
instructions. Replace as_fatal with as_bad to check for all
illegal operands.

Add test cases for illegal operands of some instructions.
gas/config/tc-loongarch.c
gas/testsuite/gas/loongarch/check_bstrins-pick.d [new file with mode: 0644]
gas/testsuite/gas/loongarch/check_bstrins-pick.s [new file with mode: 0644]
gas/testsuite/gas/loongarch/illegal-operand.l [new file with mode: 0644]
gas/testsuite/gas/loongarch/illegal-operand.s [new file with mode: 0644]
gas/testsuite/gas/loongarch/loongarch.exp
gas/testsuite/gas/loongarch/lvz-lbt.d
gas/testsuite/gas/loongarch/lvz-lbt.s