ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

fle.h

T1 riscv fp insn
Floating-Point Less Than or Equal Half-Precision
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 Zfh, Zhinx
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsZfh, Zhinx

Summary

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.

Syntax / Encoding

fle.h xd, fs1, fs2 | 1010010xxxxxxxxxx000xxxxx1010011 (mask=0xfe00707f match=0xa4000053)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV1010010xxxxxxxxxx000xxxxx10100110xfe00707f / 0xa4000053

Operands

NameDescription
fs2bits [24:20]
fs1bits [19:15]
xdbits [11:7]

Reference Notes

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.