RISC-V ISA Explorer · Single-Letter Extensions
Q: Quad-Precision Float (128-bit)
Ratified 2019-04 · version 2.2.0
Quad-precision IEEE 754 arithmetic on 128-bit floating-point registers, for math needing more range than double.
Typical use: High-precision scientific math
Open Q in the explorerDependencies
Requires
Instructions (34)
| Mnemonic | Name | Encoding | Match | Mask |
|---|---|---|---|---|
FADD.Q | Floating-point Add Quad-Precision | 0000011------------------1010011 | 0x6000053 | 0xfe00007f |
FCLASS.Q | Floating-Point Classify Quad-Precision | 111001100000-----001-----1010011 | 0xe6001053 | 0xfff0707f |
FCVT.D.Q | Floating-Point Convert Quad-Precision to Double-Precision | 010000100011-------------1010011 | 0x42300053 | 0xfff0007f |
FCVT.L.Q | Floating-Point Convert Quad-Precision to Long | 110001100010-------------1010011 | 0xc6200053 | 0xfff0007f |
FCVT.LU.Q | Floating-Point Convert Quad-Precision to Unsigned Long | 110001100011-------------1010011 | 0xc6300053 | 0xfff0007f |
FCVT.Q.D | Floating-Point Convert Double-Precision to Quad-Precision | 010001100001-------------1010011 | 0x46100053 | 0xfff0007f |
FCVT.Q.L | Floating-Point Convert Long to Quad-Precision | 110101100010-------------1010011 | 0xd6200053 | 0xfff0007f |
FCVT.Q.LU | Floating-Point Convert Unsigned Long to Quad-Precision | 110101100011-------------1010011 | 0xd6300053 | 0xfff0007f |
FCVT.Q.S | Floating-Point Convert Single-Precision to Quad-Precision | 010001100000-------------1010011 | 0x46000053 | 0xfff0007f |
FCVT.Q.W | Floating-Point Convert Word to Quad-Precision | 110101100000-------------1010011 | 0xd6000053 | 0xfff0007f |
FCVT.Q.WU | Floating-Point Convert Unsigned Word to Quad-Precision | 110101100001-------------1010011 | 0xd6100053 | 0xfff0007f |
FCVT.S.Q | Floating-Point Convert Quad-Precision to Single-Precision | 010000000011-------------1010011 | 0x40300053 | 0xfff0007f |
FCVT.W.Q | Floating-point Convert Quad-precision to Word | 110001100000-------------1010011 | 0xc6000053 | 0xfff0007f |
FCVT.WU.Q | Floating-Point Convert Unsigned Quad-Precision to Word | 110001100001-------------1010011 | 0xc6100053 | 0xfff0007f |
FDIV.Q | Floating-Point Divide Quad-Precision | 0001111------------------1010011 | 0x1e000053 | 0xfe00007f |
FEQ.Q | Floating-Point Equal Quad-Precision | 1010011----------010-----1010011 | 0xa6002053 | 0xfe00707f |
FLE.Q | Floating-Point Less Than or Equal Quad-Precision | 1010011----------000-----1010011 | 0xa6000053 | 0xfe00707f |
FLQ | Floating-Point Load Quad-Precision | -----------------100-----0000111 | 0x4007 | 0x707f |
FLT.Q | Floating-Point Less Than Quad-Precision | 1010011----------001-----1010011 | 0xa6001053 | 0xfe00707f |
FMADD.Q | Floating-Point Multiply-Add Quad-Precision | -----11------------------1000011 | 0x6000043 | 0x600007f |
FMAX.Q | Floating-Point Maximum-Number Quad-Precision | 0010111----------001-----1010011 | 0x2e001053 | 0xfe00707f |
FMIN.Q | Floating-Point Minimum-Number Quad-Precision | 0010111----------000-----1010011 | 0x2e000053 | 0xfe00707f |
FMSUB.Q | Floating-Point Multiply-Subtract Quad-Precision | -----11------------------1000111 | 0x6000047 | 0x600007f |
FMUL.Q | Floating-point Multiply Quad-Precision | 0001011------------------1010011 | 0x16000053 | 0xfe00007f |
FMV.Q.X | 111100110000-----000-----1010011 | 0xf3000053 | 0xfff0707f | |
FMV.X.Q | 111000110000-----000-----1010011 | 0xe3000053 | 0xfff0707f | |
FNMADD.Q | Floating-Point Negate-Multiply-Add Quad-Precision | -----11------------------1001111 | 0x600004f | 0x600007f |
FNMSUB.Q | Floating-Point Negate-Multiply-Subtract Quad-Precision | -----11------------------1001011 | 0x600004b | 0x600007f |
FSGNJ.Q | Floating-Point Sign-Inject Quad-Precision | 0010011----------000-----1010011 | 0x26000053 | 0xfe00707f |
FSGNJN.Q | Floating-Point Sign-Inject Negate Quad-Precision | 0010011----------001-----1010011 | 0x26001053 | 0xfe00707f |
FSGNJX.Q | Floating-Point Sign-Inject XOR Quad-Precision | 0010011----------010-----1010011 | 0x26002053 | 0xfe00707f |
FSQ | Floating-Point Store Quad-Precision | -----------------100-----0100111 | 0x4027 | 0x707f |
FSQRT.Q | Floating-Point Square Root Quad-Precision | 010111100000-------------1010011 | 0x5e000053 | 0xfff0007f |
FSUB.Q | Floating-Point Subtract Quad-Precision | 0000111------------------1010011 | 0xe000053 | 0xfe00007f |