Webcentive RISC-V Reference

hlv.h

Hypervisor load halfword

Extension
H
XLEN
RV32 and RV64
Assembly (riscv-unified-db)
hlv.h xd, (xs1)
Length
32-bit

Encoding

31252420191514121176210
011001000000rs1100rd1110011

Match 0x64004073, mask 0xfff0707f. Source: hlv.h rd rs1 24..20=0x0 31..25=0x32 14..12=4 6..2=0x1C 1..0=3 in riscv-opcodes/extensions/rv_h.

FieldBitsriscv-opcodes name
rs119:15rs1
rd11:7rd

Description

Load 16 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.

Specification and related pages