← Home

fle.h

Floating-Point Less Than or Equal Half-Precision

The `fle.h` instruction writes 1 to _xd_ if the half-precision value in _fs1_ is less than or equal to that in _fs2_, and 0 otherwise. If either operand is NaN, the result is 0. If either operand is a NaN (signaling or quiet), the invalid flag is set. Positive zero and negative zero are considered equal.

Assembly format

fle.h xd, fs1, fs2

Encoding

313029282726252423222120191817161514131211109876543210
1010010fs2fs1000xd1010011

Decode variables

VariableBitsWidth
fs2[24:20]5
fs1[19:15]5
xd[11:7]5

No execution pseudocode is available for this instruction.

Defined by

one of Zfh, Zhinx

Access

SUVSVU
AlwaysAlwaysAlwaysAlways

Version af3eaf9+cheriot.f635218

Data from the RISC-V Unified Database, copyright RISC-V International and contributors.

CHERIoT extensions from the CHERIoT specification and Sail model, copyright Microsoft and the CHERIoT Platform contributors.

This site is provided as a community resource and is NOT affiliated with nor endorsed by RISC-V International.