LoongArch: gas: Add LVZ and LBT instructions support
authormengqinggang <mengqinggang@loongson.cn>
Fri, 30 Jun 2023 09:04:15 +0000 (17:04 +0800)
committerliuzhensong <liuzhensong@loongson.cn>
Fri, 30 Jun 2023 09:32:28 +0000 (17:32 +0800)
commit071726dee7881692c442c029ef876306b7cc7832
treef62d23a4c993dee52a22bd606a2ed692f07e7cab
parent6637ae9232f0ba4442a2b171ff9571a5aff0f0e8
LoongArch: gas: Add LVZ and LBT instructions support

gas/ChangeLog:
* config/tc-loongarch.c (md_parse_option): Add LARCH_opts.ase_lvz and
LARCH_opts.ase_lbt.
* testsuite/gas/loongarch/uleb128.d: Regenerated.
* testsuite/gas/loongarch/lvz-lbt.d: New test.
* testsuite/gas/loongarch/lvz-lbt.s: New test.

include/ChangeLog:
* opcode/loongarch.h (ase_lvz): New.
(ase_lbt): New.

opcodes/ChangeLog:
* loongarch-dis.c (set_default_loongarch_dis_options): Add
LARCH_opts.ase_lvz and LARCH_opts.ase_lbt.
* loongarch-opc.c (struct loongarch_ase): Add LVZ and LBT instructions.
gas/config/tc-loongarch.c
gas/testsuite/gas/loongarch/lvz-lbt.d [new file with mode: 0644]
gas/testsuite/gas/loongarch/lvz-lbt.s [new file with mode: 0644]
gas/testsuite/gas/loongarch/uleb128.d
include/opcode/loongarch.h
opcodes/loongarch-dis.c
opcodes/loongarch-opc.c