flt.s

The `flt.s` instruction writes 1 to `xd` if `fs1` is less than `fs2`, and 0 otherwise. If either operand is NaN, the result is 0 (not equal). If either operand is a NaN (signaling or quiet), the invalid flag is set.

Synopsis

flt.s xd, fs1, fs2

Encoding

Type:

0671112141519202425311010011xd001fs1fs21010000
funct7: 1010000
funct3: 001
opcode: 1010011

RISC-V Instruction Encoder/Decoder

open flt.s in rvcodecjs

Availability