FRCP#
Format: FRCP dest, source.
Phase0: FRCP W0{.F16.E0.E1}, S0{.F16.E0|.F16.E1}{.ABS}{.NEG}
Phase1: -
Phase2: -
Description:
W0 = 1 / S0
Special cases:
FRCP(NaN) = +NaN
FRCP(+/-INF) = +/-0
FRCP(+/-0) = +/-INF
FRCP(+/-1.0) = +/-1.0 exactly
Example:
void main()
{
fragColor = 1.0 / a;
}
0 : frcp r0, sh0