GPU/Shader Instruction Set: Difference between revisions

Smea (talk | contribs)
EXP ! LOG2 !
Smea (talk | contribs)
m EXP, LOG2 => EX2, LG2
Line 276: Line 276:
|  0x05
|  0x05
|  1u
|  1u
EXP
EX2
|  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)
|  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
LOG2
LG2
|  Computes SRC1's log2 component by component; DST[i] = LOG2(SRC1[i]) for all i (modulo destination component masking) (definitely base 2)
|  Computes SRC1's log2 component by component; DST[i] = LOG2(SRC1[i]) for all i (modulo destination component masking) (base 2)
|-
|-
|  0x08
|  0x08