GPU/Shader Instruction Set: Difference between revisions
m 05 and 06 unary |
EXP ! LOG2 ! |
||
Line 276: | Line 276: | ||
| 0x05 | | 0x05 | ||
| 1u | | 1u | ||
| | | EXP | ||
| | | Computes SRC1's exp component by component; DST[i] = EXP(SRC1[i]) for all i (modulo destination component masking) (not sure which base EXP is in) | ||
|- | |- | ||
| 0x06 | | 0x06 | ||
| 1u | | 1u | ||
| | | LOG2 | ||
| | | Computes SRC1's log2 component by component; DST[i] = LOG2(SRC1[i]) for all i (modulo destination component masking) (definitely base 2) | ||
|- | |- | ||
| 0x08 | | 0x08 |