GPU/Shader Instruction Set: Difference between revisions
→Floating-Point Behavior: flushing behavior |
m →Instructions: note that MAD is not an FMA |
||
Line 549: | Line 549: | ||
| 5i | | 5i | ||
| MADI | | MADI | ||
| Multiplies two vectors and adds a third one component by component; DST[i] = SRC3[i] + SRC2[i].SRC1[i] for all i | | Multiplies two vectors and adds a third one component by component; DST[i] = SRC3[i] + SRC2[i].SRC1[i] for all i; this is not an FMA, the intermediate result is rounded | ||
|- | |- | ||
| 0x38-0x3F | | 0x38-0x3F | ||
| 5 | | 5 | ||
| MAD | | MAD | ||
| Multiplies two vectors and adds a third one component by component; DST[i] = SRC3[i] + SRC2[i].SRC1[i] for all i | | Multiplies two vectors and adds a third one component by component; DST[i] = SRC3[i] + SRC2[i].SRC1[i] for all i; this is not an FMA, the intermediate result is rounded | ||
|} | |} | ||