exp dest, src{ .x | .y | .z | .w }
| Name | Registers |
|---|---|
| dest | An output register or temporary register. |
| src | A temporary register, input register, or floating-point constant register. |
Only one component must be specified for src.
Calculates a power of two.
If the result of the operation is positive or negative infinity, NaN may be output.
Use the cmp instruction if you need to distinguish between NaN and positive or negative infinity.
tmp = src { .x | .y | .z | .w }
dest.x = 2 ^ tmp
dest.y = 2 ^ tmp
dest.z = 2 ^ tmp
dest.w = 2 ^ tmp
exp r0, c1.x
| 1 | 2 | 3 | 4 | 5 | ||
|---|---|---|---|---|---|---|
| exp | read | EXP | post | write | ||
CONFIDENTIAL