[all-commits] [llvm/llvm-project] d6675b: [LoongArch] Add definition for LVZ/LBT instructions
wanglei via All-commits
all-commits at lists.llvm.org
Sun Jul 23 22:12:00 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d6675b6a61ad94124c6fba13dea7ddf9a6374e8f
https://github.com/llvm/llvm-project/commit/d6675b6a61ad94124c6fba13dea7ddf9a6374e8f
Author: wanglei <wanglei at loongson.cn>
Date: 2023-07-24 (Mon, 24 Jul 2023)
Changed paths:
M llvm/lib/Target/LoongArch/AsmParser/LoongArchAsmParser.cpp
M llvm/lib/Target/LoongArch/Disassembler/LoongArchDisassembler.cpp
M llvm/lib/Target/LoongArch/LoongArchInstrInfo.td
A llvm/lib/Target/LoongArch/LoongArchLBTInstrFormats.td
A llvm/lib/Target/LoongArch/LoongArchLBTInstrInfo.td
A llvm/lib/Target/LoongArch/LoongArchLVZInstrInfo.td
M llvm/lib/Target/LoongArch/LoongArchRegisterInfo.td
A llvm/test/MC/LoongArch/lbt/arm-alu.s
A llvm/test/MC/LoongArch/lbt/arm-jump.s
A llvm/test/MC/LoongArch/lbt/arm-mov.s
A llvm/test/MC/LoongArch/lbt/arm-shift.s
A llvm/test/MC/LoongArch/lbt/base.s
A llvm/test/MC/LoongArch/lbt/scr.s
A llvm/test/MC/LoongArch/lbt/x86-alu.s
A llvm/test/MC/LoongArch/lbt/x86-jump.s
A llvm/test/MC/LoongArch/lbt/x86-misc.s
A llvm/test/MC/LoongArch/lbt/x86-shift.s
A llvm/test/MC/LoongArch/lvz/lvz-err.s
A llvm/test/MC/LoongArch/lvz/lvz.s
Log Message:
-----------
[LoongArch] Add definition for LVZ/LBT instructions
This patch defines the `LVZ` and `LBT` extension instructions, which
provide enough definitions for llvm-mc and llvm-objdump to correctly
handle these instructions.
It also defines the `SCR` (Scratchpad Register) register class, which
are used by the `LBT` extension instructions.
Reviewed By: SixWeining, xen0n
Differential Revision: https://reviews.llvm.org/D155917
More information about the All-commits
mailing list