[PATCH v1 0/7] Organize instructions and relocations test cases in gas
Lulu Cai
cailulu@loongson.cn
Thu Feb 29 11:45:12 GMT 2024
For the test cases of instructions, we distinguished them according to
the classification method in the instruction manual.
Instruction test case classification:
For the basic instruction set, there are LA32 and LA64 classes, which
contain int, float, and privilege, respectively.
For the extended instruction set, only LA64 versions are available,
including lsx, lasx, lvz, and lbt.
For other instructions not defined in the manual, LA32 and LA64 are
distinguished, Includes macros and alias instructions. The relocations
of LA32 are those used by instructions that exist in the instruction
manual of LA32.
Relocation the test case classification:
There are two types of LA32 and LA64.
Lulu Cai (7):
LoongArch: Add gas testsuit for alias instructions
LoongArch: Add gas testsuit for lbt/lvz instructions
LoongArch: Add gas testsuit for lsx/lasx instructions
LoongArch: Add gas testsuit for LA64 int/float instructions
LoongArch: Add gas testsuit for LA32 int/float instructions
LoongArch: Add gas testsuit for LA64 relocations
LoongArch: Add gas testsuit for LA32 relocations
gas/testsuite/gas/loongarch/insn_alias_32.d | 19 +
gas/testsuite/gas/loongarch/insn_alias_32.s | 10 +
gas/testsuite/gas/loongarch/insn_alias_64.d | 20 +
gas/testsuite/gas/loongarch/insn_alias_64.s | 11 +
gas/testsuite/gas/loongarch/insn_float32.d | 157 +++++
gas/testsuite/gas/loongarch/insn_float32.s | 149 ++++
gas/testsuite/gas/loongarch/insn_float64.d | 165 +++++
gas/testsuite/gas/loongarch/insn_float64.s | 157 +++++
gas/testsuite/gas/loongarch/insn_int32.d | 147 ++++
gas/testsuite/gas/loongarch/insn_int32.s | 156 ++++
gas/testsuite/gas/loongarch/insn_int64.d | 430 ++++++++++++
gas/testsuite/gas/loongarch/insn_int64.s | 440 ++++++++++++
gas/testsuite/gas/loongarch/insn_lasx.d | 737 +++++++++++++++++++
gas/testsuite/gas/loongarch/insn_lasx.s | 727 +++++++++++++++++++
gas/testsuite/gas/loongarch/insn_lbt.d | 186 +++++
gas/testsuite/gas/loongarch/insn_lbt.s | 176 +++++
gas/testsuite/gas/loongarch/insn_lsx.d | 742 ++++++++++++++++++++
gas/testsuite/gas/loongarch/insn_lsx.s | 732 +++++++++++++++++++
gas/testsuite/gas/loongarch/insn_lvz.d | 15 +
gas/testsuite/gas/loongarch/insn_lvz.s | 5 +
gas/testsuite/gas/loongarch/relocs_32.d | 75 ++
gas/testsuite/gas/loongarch/relocs_32.s | 61 ++
gas/testsuite/gas/loongarch/relocs_64.d | 144 ++++
gas/testsuite/gas/loongarch/relocs_64.s | 109 +++
24 files changed, 5570 insertions(+)
create mode 100644 gas/testsuite/gas/loongarch/insn_alias_32.d
create mode 100644 gas/testsuite/gas/loongarch/insn_alias_32.s
create mode 100644 gas/testsuite/gas/loongarch/insn_alias_64.d
create mode 100644 gas/testsuite/gas/loongarch/insn_alias_64.s
create mode 100644 gas/testsuite/gas/loongarch/insn_float32.d
create mode 100644 gas/testsuite/gas/loongarch/insn_float32.s
create mode 100644 gas/testsuite/gas/loongarch/insn_float64.d
create mode 100644 gas/testsuite/gas/loongarch/insn_float64.s
create mode 100644 gas/testsuite/gas/loongarch/insn_int32.d
create mode 100644 gas/testsuite/gas/loongarch/insn_int32.s
create mode 100644 gas/testsuite/gas/loongarch/insn_int64.d
create mode 100644 gas/testsuite/gas/loongarch/insn_int64.s
create mode 100644 gas/testsuite/gas/loongarch/insn_lasx.d
create mode 100644 gas/testsuite/gas/loongarch/insn_lasx.s
create mode 100644 gas/testsuite/gas/loongarch/insn_lbt.d
create mode 100644 gas/testsuite/gas/loongarch/insn_lbt.s
create mode 100644 gas/testsuite/gas/loongarch/insn_lsx.d
create mode 100644 gas/testsuite/gas/loongarch/insn_lsx.s
create mode 100644 gas/testsuite/gas/loongarch/insn_lvz.d
create mode 100644 gas/testsuite/gas/loongarch/insn_lvz.s
create mode 100644 gas/testsuite/gas/loongarch/relocs_32.d
create mode 100644 gas/testsuite/gas/loongarch/relocs_32.s
create mode 100644 gas/testsuite/gas/loongarch/relocs_64.d
create mode 100644 gas/testsuite/gas/loongarch/relocs_64.s
--
2.43.0
More information about the Binutils
mailing list