GPU/Shader Instruction Set: Difference between revisions
EXP ! LOG2 ! |
m EXP, LOG2 => EX2, LG2 |
||
Line 276: | Line 276: | ||
| 0x05 | | 0x05 | ||
| 1u | | 1u | ||
| | | EX2 | ||
| Computes SRC1's exp component by component; DST[i] = EXP(SRC1[i]) for all i (modulo destination component masking) ( | | Computes SRC1's exp component by component; DST[i] = EXP(SRC1[i]) for all i (modulo destination component masking) (base 2) | ||
|- | |- | ||
| 0x06 | | 0x06 | ||
| 1u | | 1u | ||
| | | LG2 | ||
| Computes SRC1's log2 component by component; DST[i] = LOG2(SRC1[i]) for all i (modulo destination component masking) ( | | Computes SRC1's log2 component by component; DST[i] = LOG2(SRC1[i]) for all i (modulo destination component masking) (base 2) | ||
|- | |- | ||
| 0x08 | | 0x08 |