hlv.w
Hypervisor load word
- Extension
- H
- XLEN
- RV32 and RV64
- Assembly (riscv-unified-db)
hlv.w xd, (xs1)- Length
- 32-bit
Encoding
| 3125 | 2420 | 1915 | 1412 | 117 | 62 | 10 | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0110100 | 00000 | rs1 | 100 | rd | 11100 | 11 | |||||||||||||||||||||||||
Match 0x68004073, mask 0xfff0707f. Source: hlv.w rd rs1 24..20=0x0 31..25=0x34 14..12=4 6..2=0x1C 1..0=3 in riscv-opcodes/extensions/rv_h.
| Field | Bits | riscv-opcodes name |
|---|---|---|
| rs1 | 19:15 | rs1 |
| rd | 11:7 | rd |
Description
Load 32 bits of data into register xd from guest physical memory at the
address in xs1, as though V=1. Sign-extend the result to XLEN bits.
Description from riscv-unified-db, reformatted.