FADD#

Format: FADD dest, source1, source2.

Phase0: FADD{.SAT} FT0, S0{.ABS}{.NEG}{.FLR}, S1{.ABS}

Phase1: FADD{.SAT} FT1, S3{.ABS}{.NEG}{.FLR}, S4{.ABS}

Phase2: FADD{.SAT} FT2, IS3{.ABS}{.NEG}, FTE{.ABS}

Description:

FT0 = S0 + S1
FT1 = S3 + S4
FT2 = IS3 + FTE

Example:

void main()
{
    fragColor = a + b;
}
1    : fmad ft0, sh4, c64, sh0
       fadd ft1, sh5, i0
       mov r0, ft0;
       mov r1, ft1;