ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

froundnx.q

T1 riscv fp insn
Floating-Point Round-to-Integer Inexact 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 froundnx.q instruction is encoded like fround.q but with rs2=5 and it also sets the inexact exception flag if the input differs from the rounded result and is not _NaN_.

Syntax / Encoding

froundnx.q fd, fs1, rm | 010001100101xxxxxxxxxxxxx1010011 (mask=0xfff0007f match=0x46500053)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV010001100101xxxxxxxxxxxxx10100110xfff0007f / 0x46500053

Operands

NameDescription
fs1bits [19:15]
rmbits [14:12]
fdbits [11:7]