pow dest, src0{ .x | .y | .z | .w}, src1{ .x | .y | .z | .w}
| Name | Registers |
|---|---|
| dest |
A temporary register. |
| src0 |
A temporary register, input register, or floating-point constant register.r. Must specify any one of { .x | .y | .z | .w } as the component. |
| src1 |
A temporary register, input register, or floating-point constant register.r. Must specify any one of { .x | .y | .z | .w } as the component. |
Cannot specify the same register for src1 and dest.
Finds the src1 power of src0 and stores the result in dest.
tmp = src0{ .x | .y | .z | .w} ^ src1{ .x | .y | .z | .w}
dest.x = tmp
dest.y = tmp
dest.z = tmp
dest.w = tmp
log dest.z, src0{ .x | .y | .z | .w}
mul dest.z, dest.z, src1{ .x | .y | .z | .w}
exp dest, dest.z
pow r0, r1.y, r2.x
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| log | read | LOG | post | write | |||||||||
| mul | STALL | read | MUL | post | write | ||||||||
| exp | STALL | read | EXP | post | write | ||||||||
CONFIDENTIAL