HLV.D

Hypervisor Load Double

HLV.D rd, (rs1)

Hypervisor virtual-machine load: loads a doubleword from a guest virtual address using two-stage translation.

Encoding

Binary Layout
011011000000
31:20
rs1
19:15
100
14:12
rd
11:7
1110011
6:0
 
Format R-Type (System)
Opcode 0x6C004073
Extension H

Operands

  • rd
    Destination register
  • rs1
    Guest virtual address

Example

HLV.D t0, (a0)

Related

More in H

Description

HLV.D loads a doubleword from the address in rs1, (RV64 only) and writes it to rd. The access is to a guest virtual address, translated in two stages (VS-stage then G-stage), with effective privilege VU when hstatus.SPVP=0 and VS when SPVP=1; sstatus.SUM is ignored. Valid in M-mode or HS-mode, or in U-mode when hstatus.HU=1; when V=1 it raises a virtual-instruction exception. Not valid on RV32.

Operation

R[rd] = GuestMem[rs1][63:0];