GPU/Shader Instruction Set: Difference between revisions
m 0x04 actually not unary |
m added unknown opcodes |
||
| Line 342: | Line 342: | ||
| RSQ | | RSQ | ||
| Computes the reciprocal of the square root of the vector, component by component; DST[i] = 1/sqrt(SRC1[i]) for all i (modulo destination component masking) | | Computes the reciprocal of the square root of the vector, component by component; DST[i] = 1/sqrt(SRC1[i]) for all i (modulo destination component masking) | ||
|- | |||
| 0x10 | |||
| ? | |||
| ??? | |||
| ? | |||
|- | |||
| 0x11 | |||
| ? | |||
| ??? | |||
| ? | |||
|- | |- | ||
| 0x12 | | 0x12 | ||
| Line 352: | Line 362: | ||
| MOV | | MOV | ||
| Moves value from one register to another; DST = SRC1. | | Moves value from one register to another; DST = SRC1. | ||
|- | |||
| 0x14 | |||
| ? | |||
| ??? | |||
| ? | |||
|- | |||
| 0x15 | |||
| ? | |||
| ??? | |||
| ? | |||
|- | |||
| 0x16 | |||
| ? | |||
| ??? | |||
| ? | |||
|- | |||
| 0x17 | |||
| ? | |||
| ??? | |||
| ? | |||
|- | |- | ||
| 0x18 | | 0x18 | ||
| Line 372: | Line 402: | ||
| SLTI | | SLTI | ||
| Sets output if SRC1 is strictly less than SRC2; DST[i] = (SRC1[i] < SRC2[i]) ? 1.0 : 0.0 for all i (modulo destination component masking) | | Sets output if SRC1 is strictly less than SRC2; DST[i] = (SRC1[i] < SRC2[i]) ? 1.0 : 0.0 for all i (modulo destination component masking) | ||
|- | |||
| 0x1C | |||
| ? | |||
| ??? | |||
| ? | |||
|- | |||
| 0x1D | |||
| ? | |||
| ??? | |||
| ? | |||
|- | |||
| 0x1E | |||
| ? | |||
| ??? | |||
| ? | |||
|- | |||
| 0x1F | |||
| ? | |||
| ??? | |||
| ? | |||
|- | |||
| 0x20 | |||
| ? | |||
| ??? | |||
| ? | |||
|- | |- | ||
| 0x21 | | 0x21 | ||