V_DIV_SCALE_F32
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 single-precision float value to scale in the first input, a denominator in the second input and a numerator in the third input, scale the first input for division if required to avoid subnormal terms appearing during application of the Newton-Raphson correction method. Store the scaled result into a vector register and set the vector condition code iff post-scaling is required.
Syntax / Encoding
V_DIV_SCALE_F32 VDST, SDST, SRC0, SRC1, SRC2, LITERAL | VOP3_SDST_ENC op=480 [CDNA1,CDNA2,CDNA3,CDNA4]; VOP3_SDST_ENC op=764 [CDNA5,RDNA3,RDNA3_5,RDNA4]; VOP3_SDST_ENC_INST_LITERAL op=764 [CDNA5,RDNA3,RDNA3_5,RDNA4]
Binary Encodings (5)
| Width | Format | Bit Pattern | Mask / Match |
|---|---|---|---|
| 64 | VOP3_SDST_ENC | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101000111100000xxxxxxxxxxxxxxxx | 0x00000000ffff0000 / 0x00000000d1e00000 |
| 64 | VOP3_SDST_ENC | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101011011111100xxxxxxxxxxxxxxxx | 0x00000000ffff0000 / 0x00000000d6fc0000 |
| 96 | VOP3_SDST_ENC_INST_LITERAL | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101011011111100xxxxxxxxxxxxxxxx | 0x0000000000000000ffff0000 / 0x0000000000000000d6fc0000 |
| 64 | VOP3_SDST_ENC | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101010101101101xxxxxxxxxxxxxxxx | 0x00000000ffff0000 / 0x00000000d56d0000 |
| 96 | VOP3_SDST_ENC_INST_LITERAL | xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx1101010101101101xxxxxxxxxxxxxxxx | 0x0000000000000000ffff0000 / 0x0000000000000000d56d0000 |
Operands
| Name | Description |
|---|---|
VDST | |
SDST | |
SRC0 | |
SRC1 | |
SRC2 | |
LITERAL |