[PATCH] D120878: [RISCV] Add alias for HFENCE.VVMA
eric tang via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 3 01:56:20 PST 2022
tangxingxin1008 added a comment.
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 <https://github.com/riscv/riscv-isa-manual/releases/tag/draft-20220301-9ec8c01> , "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.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120878/new/
https://reviews.llvm.org/D120878
More information about the llvm-commits
mailing list