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

fle.s

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

Summary

The fle.s instruction writes 1 to xd if fs1 is less than or equal to 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. Positive zero and negative zero are considered equal.

Syntax / Encoding

fle.s xd, fs1, fs2 | 1010000xxxxxxxxxx000xxxxx1010011 (mask=0xfe00707f match=0xa0000053)

Cross-Chip Latency & Throughput (11 cores)

MicroarchitectureLatency (cycles)Recip. TPuopsPortsSource
Tenstorrent Ascalon-X111AscalonFPllvm_sched_models
Andes 45-Series211Andes45FMISCllvm_sched_models
MIPS P8700 (RISC-V)212p8700IssueFPUS+p8700FpuApullvm_sched_models
SiFive P670 / P600211SiFiveP600F2Illvm_sched_models
SiFive P870 / P800211SiFiveP800F2Illvm_sched_models
XiangShan KunMingHu20.331XSPipeGroupFALUllvm_sched_models
SiFive 7-Series (U74)311PipeBllvm_sched_models
SpacemiT X10030.251SMTX100_FQllvm_sched_models
XiangShan NanHu30.251XS2FMACllvm_sched_models
Syntacore SCR7412FPU_IS+FALUllvm_sched_models
SpacemiT X60 (K1)611SMX60_FPllvm_sched_models

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV1010000xxxxxxxxxx000xxxxx10100110xfe00707f / 0xa0000053

Operands

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

Reference Notes

The `fle.s` instruction writes 1 to `xd` if `fs1` is less than or equal to `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. Positive zero and negative zero are considered equal.