From 071726dee7881692c442c029ef876306b7cc7832 Mon Sep 17 00:00:00 2001 From: mengqinggang Date: Fri, 30 Jun 2023 17:04:15 +0800 Subject: 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. --- include/opcode/loongarch.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') diff --git a/include/opcode/loongarch.h b/include/opcode/loongarch.h index 6d399f7..e145db5 100644 --- a/include/opcode/loongarch.h +++ b/include/opcode/loongarch.h @@ -211,6 +211,9 @@ dec2 : [1-9][0-9]? int use_lsx; int use_lasx; + int use_lvz; + int use_lbt; + int use_la_local_with_abs; int use_la_global_with_pcrel; int use_la_global_with_abs; @@ -225,6 +228,9 @@ dec2 : [1-9][0-9]? #define ase_lsx isa.use_lsx #define ase_lasx isa.use_lasx +#define ase_lvz isa.use_lvz +#define ase_lbt isa.use_lbt + #define ase_labs isa.use_la_local_with_abs #define ase_gpcr isa.use_la_global_with_pcrel #define ase_gabs isa.use_la_global_with_abs -- cgit v1.1