FLI.H

Float Load Immediate (Half)

FLI.H rd, rs1

Loads a common half-precision constant into a register.

Details

Loads a half-precision (16-bit) floating-point constant from a predefined lookup table (indexed by rs1) into fd. Provides common constants such as −1, 0, 1, 2, ∞, and others without a memory access.

Pseudocode Operation

F[rd] = HalfTable[rs1];

Example

FLI.H t0, a0

Encoding

Binary Layout
1111000
31:25
00001
24:20
rs1
19:15
000
14:12
rd
11:7
1010011
6:0
 
Format R-Type
Opcode 0x53
Extension Zfa

Operands

  • rd
    Destination register (integer)
  • rs1
    Constant Index