[PATCH] D117652: [RISCV] Update Privileged spec to version-20211203: Removed the N extension
eric tang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 19 02:05:35 PST 2022
tangxingxin1008 created this revision.
tangxingxin1008 added reviewers: asb, craig.topper, jrtc27, frasercrmck, kito-cheng.
Herald added subscribers: VincentWu, luke957, achieveartificialintelligence, vkmr, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya.
tangxingxin1008 requested review of this revision.
Herald added subscribers: llvm-commits, eopXD, MaskRay.
Herald added a project: LLVM.
Removed the following CSRs:
- USTATUS, UIE, UTVEC
- USCRATCH, UEPC, UCAUSE, UTVAL, UIP
Removed the following instruction:
- URET
Signed-off-by: eric.tang <eric.tang at starfivetech.com>
[RISCV] Update Privileged spec to version-20211203: Support Sinval Extention
Support Sinval Extention, Version 1.0
Add Supervisor Memory-Management Instructions:
- SINVAL.VMA, SFENCE.W.INVAL, SFENCE.INVAL.IR
Add Hypervisor Memory-Management Instructions:
- HFENCE.VVMA, HFENCE.GVMA, HINVAL.VVMA, HINVAL.GVMA
Signed-off-by: eric.tang <eric.tang at starfivetech.com>
[RISCV] Update Privileged spec to version-20211203: Support Hypervisor Extention
Support Hypervisor Extention, Version 1.0
Add the following instructions:
- HLV.B HLV.BU
- HLV.H HLV.HU HLVX.HU
- HLV.W HLV.WU HLVX.WU
- HLV.D
- HSV.B HSV.H HSV.W HSV.D
Hypervisor CSRs has been updated.
Signed-off-by: eric.tang <eric.tang at starfivetech.com>
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D117652
Files:
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVISelLowering.h
llvm/lib/Target/RISCV/RISCVInstrInfo.td
llvm/lib/Target/RISCV/RISCVInstrInfoC.td
llvm/lib/Target/RISCV/RISCVSystemOperands.td
llvm/test/CodeGen/RISCV/interrupt-attr-args-error.ll
llvm/test/CodeGen/RISCV/interrupt-attr-ret-error.ll
llvm/test/CodeGen/RISCV/interrupt-attr.ll
llvm/test/CodeGen/RISCV/saverestore.ll
llvm/test/MC/RISCV/deprecated-csr-names.s
llvm/test/MC/RISCV/priv-aliases-valid.s
llvm/test/MC/RISCV/priv-invalid.s
llvm/test/MC/RISCV/priv-rv64-valid.s
llvm/test/MC/RISCV/priv-valid.s
llvm/test/MC/RISCV/rv32e-valid.s
llvm/test/MC/RISCV/rv32i-valid.s
llvm/test/MC/RISCV/rvi-aliases-valid.s
llvm/test/MC/RISCV/user-csr-names.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117652.401140.patch
Type: text/x-patch
Size: 28467 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220119/245ef609/attachment.bin>
More information about the llvm-commits
mailing list