IMAD8

Format: IMAD8 dest, source1, source2, source3.

Phase0: IMAD8{.SAT} FT0, S0{.NEG}{.ABS}{.E0|.E1|.E2|.E3}, S1{.ABS}{.E0|.E1|.E2|.E3}, S2{.NEG}{.ABS}{.E0|.E1|.E2|.E3}

Phase1: -

Phase2: -

Description: Signed (integer) 8-bit multiply and add.

FT0 = S0 * S1 + S2
Table 1. Example:
uniform lowp int a;
uniform lowp int b;
uniform lowp int c;

void main()
{
	fragColor = vec4(a * b + c);
}
1    : imad8 ft0, sh1.e0, i0.e0, sh2.e0
       mov i0, ft0;