V_DIV_FIXUP_F64
amd_gpu_isa)AMD RDNA1/2/3/3.5/4 & CDNA1/2/3/4 GPUs
2026-official
userCDNA1, CDNA2, CDNA3, CDNA4, CDNA5, RDNA1, RDNA2, RDNA3, RDNA3_5, RDNA4, VALUSummary
Given a double-precision float quotient in the first input, a denominator in the second input and a numerator in the third input, detect and apply corner cases related to division, including divide by zero, NaN inputs and overflow, and modify the quotient accordingly. Generate any invalid, denormal and divide-by-zero exceptions that are a result of the division. Store the modified quotient into a vector register.
Syntax / Encoding
V_DIV_FIXUP_F64 VDST, SRC0, SRC1, SRC2, LITERAL, VSRC0 | ENC_VOP3 op=479 [CDNA1,CDNA2,CDNA3,CDNA4]; ENC_VOP3 op=552 [CDNA5,RDNA3,RDNA3_5,RDNA4]; VOP3_INST_LITERAL op=552 [CDNA5,RDNA3,RDNA3_5,RDNA4]
Binary Encodings (6)
| Width | Format | Bit Pattern | Mask / Match |
|---|---|---|---|
| 64 | ENC_VOP3 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101000111011111xxxxxxxxxxxxxxxx | 0x00000000ffff0000 / 0x00000000d1df0000 |
| 64 | ENC_VOP3 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101011000101000xxxxxxxxxxxxxxxx | 0x00000000ffff0000 / 0x00000000d6280000 |
| 96 | VOP3_INST_LITERAL | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101011000101000xxxxxxxxxxxxxxxx | 0x0000000000000000ffff0000 / 0x0000000000000000d6280000 |
| 96 | VOP3_VOP_DPP16 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101011000101000xxxxxxxxxxxxxxxx | 0x0000000000000000ffff0000 / 0x0000000000000000d6280000 |
| 64 | ENC_VOP3 | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101010101100000xxxxxxxxxxxxxxxx | 0x00000000ffff0000 / 0x00000000d5600000 |
| 96 | VOP3_INST_LITERAL | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101010101100000xxxxxxxxxxxxxxxx | 0x0000000000000000ffff0000 / 0x0000000000000000d5600000 |
Operands
| Name | Description |
|---|---|
VDST | |
SRC0 | |
SRC1 | |
SRC2 | |
LITERAL | |
VSRC0 |