diff options
author | mengqinggang <mengqinggang@loongson.cn> | 2023-06-30 17:04:15 +0800 |
---|---|---|
committer | liuzhensong <liuzhensong@loongson.cn> | 2023-06-30 17:32:28 +0800 |
commit | 071726dee7881692c442c029ef876306b7cc7832 (patch) | |
tree | f62d23a4c993dee52a22bd606a2ed692f07e7cab /include | |
parent | 6637ae9232f0ba4442a2b171ff9571a5aff0f0e8 (diff) | |
download | gdb-071726dee7881692c442c029ef876306b7cc7832.zip gdb-071726dee7881692c442c029ef876306b7cc7832.tar.gz gdb-071726dee7881692c442c029ef876306b7cc7832.tar.bz2 |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/opcode/loongarch.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 |