flh

The `flh` instruction loads a single-precision floating-point value from memory at address _xs1_ + _imm_ into floating-point register _xd_. `flh` does not modify the bits being transferred; in particular, the payloads of non-canonical NaNs are preserved. `flh` is only guaranteed to execute atomically if the effective address is naturally aligned.

Synopsis

flh fd, imm(xs1)

Encoding

Type:

067111214151920310000111fd001xs1imm
funct3: 001
opcode: 0000111

RISC-V Instruction Encoder/Decoder

open flh in rvcodecjs

Availability