GPU/Shader Instruction Set: Difference between revisions

Smea (talk | contribs)
m EXP, LOG2 => EX2, LG2
Smea (talk | contribs)
m 4 and 7 are unary
Line 271: Line 271:
|  0x03
|  0x03
|  1
|  1
|  ???
|  ?
|-
|  0x04
|  1u
|  ???
|  ???
|  ?
|  ?
Line 283: Line 288:
|  LG2
|  LG2
|  Computes SRC1's log2 component by component; DST[i] = LOG2(SRC1[i]) for all i (modulo destination component masking) (base 2)
|  Computes SRC1's log2 component by component; DST[i] = LOG2(SRC1[i]) for all i (modulo destination component masking) (base 2)
|-
|  0x07
|  1u
|  ???
|  ?
|-
|-
|  0x08
|  0x08