Can it execute in U-mode?
With H implemented: M/HS or V=0 U-mode with HU=1 may execute. V=0 U-mode with HU=0 raises illegal-instruction; V=1 raises virtual-instruction.
Hypervisor virtual-machine load of a doubleword using VS/VU effective privilege and two-stage translation.
HLV.D is the H-extension virtual-machine load corresponding to LD. It reads a 64-bit doubleword at the address in rs1 and writes rd; the instruction has no immediate offset and is RV64-only. It is valid only in M-mode, HS-mode, or U-mode with hstatus.HU=1; the explicit access uses the VU or VS effective privilege selected by hstatus.SPVP and two-stage translation.
Shows HLV.D SYSTEM decoding, privilege checks, two-stage translation, and direct 64-bit writeback without modeling page walks or TLB implementation.
Assumes H is implemented, relevant privilege modes use the same XLEN, and pointer masking is disabled. Input is an assembled memory value; the selector supplies the access outcome without validating page tables. rs1=x0 fixes address zero. Steps are teaching stages, not processor cycles.
This animation shows only official architectural conditions and outcomes; page walks, TLBs, caches, and platform exception handling are not modeled.
HLV.D reads 64 bits at rs1 and writes RV64 rd directly.
Understand this scenario with real code like «# RV64; H 扩展 / H extension; HS-mode, SPVP=0; pointer masking disabled # x11=0x40001000; VS/G-stage access succeeds # 64-bit memory value = 0x8000000000000001 hlv.d x10, (x11) # x10 = 0x8000000000000001».
Understand this scenario with real code like «# RV64; H 扩展 / H extension; HS-mode, SPVP=0; pointer masking disabled # x11=0x40001000; VS/G-stage access succeeds # 64-bit memory value = 0x8000000000000001 hlv.d x10, (x11) # x10 = 0x8000000000000001».
Understand this scenario with real code like «# RV64; H 扩展 / H extension; HS-mode, SPVP=0; pointer masking disabled # x11=0x40001000; VS/G-stage access succeeds # 64-bit memory value = 0x8000000000000001 hlv.d x10, (x11) # x10 = 0x8000000000000001».
With H implemented: M/HS or V=0 U-mode with HU=1 may execute. V=0 U-mode with HU=0 raises illegal-instruction; V=1 raises virtual-instruction.
rs1=x0 supplies zero. With rd=rs1, read the address before writeback. rd=x0 retains exceptions and side effects.