GPU/Shader Instruction Set: Difference between revisions
added MAD format |
added MAD |
||
Line 297: | Line 297: | ||
| CMP2 | | CMP2 | ||
| Presumably compares two vectors component by component and sets the appropriate flags. (unknown exactly how this works as of yet) | | Presumably compares two vectors component by component and sets the appropriate flags. (unknown exactly how this works as of yet) | ||
|- | |||
| 0x38-0x3F | |||
| 5 | |||
| MAD | |||
| Multiplies two vectors and adds a third one component by component; DST[i] = SRC2[i] + SRC1[i].SRC3[i] for all i (modulo destination component masking) | |||
|} | |} | ||