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.
This commit is contained in:
mengqinggang
2023-06-30 17:04:15 +08:00
committed by liuzhensong
parent 6637ae9232
commit 071726dee7
7 changed files with 604 additions and 24 deletions

View File

@@ -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