This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Update Privileged spec to version-20211203: Removed the N extension
AbandonedPublic

Authored by tangxingxin1008 on Jan 19 2022, 2:05 AM.

Details

Summary
Removed the following CSRs:
    - USTATUS, UIE, UTVEC
    - USCRATCH, UEPC, UCAUSE, UTVAL, UIP
Removed the following instruction:
    - URET

Signed-off-by: eric.tang <eric.tang@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@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@starfivetech.com>

Diff Detail

Event Timeline

tangxingxin1008 requested review of this revision.Jan 19 2022, 2:05 AM
Herald added a project: Restricted Project. · View Herald TranscriptJan 19 2022, 2:05 AM
tangxingxin1008 abandoned this revision.Jan 19 2022, 2:07 AM

Sorry, I will recommit these patches