Signed-off-by: Eric Tang <eric.tang@starfivetech.com>
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I don't find explicit alias of these instructions(sfence.vma, hfence.gvma, hfence.vvma) from the Privileged spec, but there is a case about hfence.gvma from linux kvm : https://github.com/torvalds/linux/blob/master/arch/riscv/kvm/tlb.S. According to Privileged spec , "HFENCE.VVMA and HFENCE.GVMA,perform a function similar to SFENCE.VMA (Section 4.2.1)", so add alias for hfence.vvma is a necessary.