[all-commits] [llvm/llvm-project] e29d8f: [RISCV] Initially support the K-extension instruct...
VincentWu via All-commits
all-commits at lists.llvm.org
Sun Jan 23 22:45:58 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e29d8fb16978c463c7ea08cb255f5a97eca16d36
https://github.com/llvm/llvm-project/commit/e29d8fb16978c463c7ea08cb255f5a97eca16d36
Author: Wu Xinlong <821408745 at qq.com>
Date: 2022-01-24 (Mon, 24 Jan 2022)
Changed paths:
M llvm/lib/Support/RISCVISAInfo.cpp
M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
M llvm/lib/Target/RISCV/MCTargetDesc/RISCVBaseInfo.h
M llvm/lib/Target/RISCV/RISCV.td
M llvm/lib/Target/RISCV/RISCVInstrInfo.cpp
M llvm/lib/Target/RISCV/RISCVInstrInfo.td
A llvm/lib/Target/RISCV/RISCVInstrInfoZk.td
M llvm/lib/Target/RISCV/RISCVSchedRocket.td
M llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
M llvm/lib/Target/RISCV/RISCVSubtarget.h
M llvm/lib/Target/RISCV/RISCVSystemOperands.td
M llvm/test/CodeGen/RISCV/attributes.ll
M llvm/test/MC/RISCV/attribute-arch.s
A llvm/test/MC/RISCV/rv32zknd-only-invalid.s
A llvm/test/MC/RISCV/rv32zknd-only-valid.s
A llvm/test/MC/RISCV/rv32zkne-only-invalid.s
A llvm/test/MC/RISCV/rv32zkne-only-valid.s
A llvm/test/MC/RISCV/rv32zknh-only-valid.s
A llvm/test/MC/RISCV/rv32zknh-valid.s
A llvm/test/MC/RISCV/rv32zksed-invalid.s
A llvm/test/MC/RISCV/rv32zksed-valid.s
A llvm/test/MC/RISCV/rv32zksh-valid.s
A llvm/test/MC/RISCV/rv64zknd-only-valid.s
A llvm/test/MC/RISCV/rv64zkne-only-invalid.s
A llvm/test/MC/RISCV/rv64zkne-only-valid.s
A llvm/test/MC/RISCV/rv64zknh-only-valid.s
A llvm/test/MC/RISCV/rv64zksed-invalid.s
A llvm/test/MC/RISCV/rvk-user-csr-name.s
Log Message:
-----------
[RISCV] Initially support the K-extension instructions on the LLVM MC layer
This commit is currently implementing supports for scalar cryptography extension for LLVM according to version v1.0.0 of [K Ext specification](https://github.com/riscv/riscv-crypto/releases)(scala crypto has been ratified already). Currently, we are implementing the MC (Machine Code) layer of his extension and the majority of work is done under `llvm/lib/Target/RISCV` directory. There are also some test files in `llvm/test/MC/RISCV` directory.
Remove the subfeature of Zbk* which conflict with b extensions to reduce the size of the patch.
(Zbk* will be resubmit after this patch has been merged)
**Co-author:**@ksyx & @VincentWu & @lihongliang & @achieveartificialintelligence
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D98136
More information about the All-commits
mailing list