HLV.W

Hypervisor Load Word

HLV.W rd, (rs1)

Loads a word from Guest Physical Memory (VS-stage translation only).

Details

HLV.W performs a virtual-machine load of a word using VS-mode translation. In RV64 the result is sign-extended.

Pseudocode Operation

R[rd] = sext(GuestMem[R[rs1]][31:0]);

Example

HLV.W x10, (x11)

Encoding

Binary Layout
0110100
31:25
00000
24:20
rs1
19:15
100
14:12
rd
11:7
1110011
6:0
 
Format R-Type (System)
Opcode 0x73
Extension H

Operands

  • rd
    Destination register (integer)
  • rs1
    Guest Address