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

fleq.q

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

Summary

The fleq.q performs the specified comparison between floating-point registers fs1 and fs2, and writes 1 to integer register xd if the condition holds, and 0 otherwise.

Syntax / Encoding

fleq.q xd, fs1, fs2 | 1010011xxxxxxxxxx100xxxxx1010011 (mask=0xfe00707f match=0xa6004053)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV1010011xxxxxxxxxx100xxxxx10100110xfe00707f / 0xa6004053

Operands

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

Reference Notes

The `fleq.q` performs the specified comparison between floating-point registers `fs1` and `fs2`,
and writes 1 to integer register `xd` if the condition holds, and 0 otherwise.

`fleq.q` is defined like `fle.q`, except that quiet _NaN_ inputs do not cause the invalid
operation exception flag to be set.