Lines Matching refs:MP1
26 #define GMB_MULT_AP1( MP1, MA1, MP2, MA2, MX1 ) \ argument
28 PMULLW ( MP1, MA1 ) /* t1 = p1*a1 */ ;\
50 #define GMB_MULT_GS( MP1, MA1, MP2, MA2 ) \ argument
51 PMULLW ( MP1, MA1 ) /* t1 = p1*a1 */ ;\
54 MOVQ ( MA1, MP1 ) ;\
60 PADDW ( MP1, MA1 ) /* t1 + (t1 >> 8) ~= (t1/255) << 8 */ ;\
78 #define GMB_MULT_GSR( MP1, MA1, MP2, MA2, M80 ) \ argument
79 PMULLW ( MP1, MA1 ) /* t1 = p1*a1 */ ;\
85 MOVQ ( MA1, MP1 ) ;\
91 PADDW ( MP1, MA1 ) /* t1 + (t1 >> 8) ~= (t1/255) << 8 */ ;\
100 #define GMB_LERP_GS( MP1, MQ1, MA1, MP2, MQ2, MA2) \ argument
101 … PSUBW ( MQ1, MP1 ) /* pa1 - qa1 | pb1 - qb1 | pg1 - qg1 | pr1 - qr1 */ ;\
103 PMULLW ( MP1, MA1 ) /* t1 = (q1 - p1)*pa1 */ ;\
109 MOVQ ( MA1, MP1 ) ;\
115 PADDW ( MP1, MA1 ) /* t1 + (t1 >> 8) ~= (t1/255) << 8 */ ;\
131 #define GMB_LERP_GSR( MP1, MQ1, MA1, MP2, MQ2, MA2, M80) \ argument
132 … PSUBW ( MQ1, MP1 ) /* pa1 - qa1 | pb1 - qb1 | pg1 - qg1 | pr1 - qr1 */ ;\
134 PMULLW ( MP1, MA1 ) /* t1 = (q1 - p1)*pa1 */ ;\
140 PSRLW ( CONST(15), MP1 ) /* q1 > p1 ? 1 : 0 */ ;\
143 PSLLW ( CONST(8), MP1 ) /* q1 > p1 ? 0x100 : 0 */ ;\
146 PSUBW ( MP1, MA1 ) /* t1 -=? 0x100 */ ;\
152 MOVQ ( MA1, MP1 ) ;\
158 PADDW ( MP1, MA1 ) /* t1 + (t1 >> 8) ~= (t1/255) << 8 */ ;\
176 #define GMB_LERP_GSC( MP1, MQ1, MA1, MP2, MQ2, MA2) \ argument
177 … PSUBW ( MQ1, MP1 ) /* pa1 - qa1 | pb1 - qb1 | pg1 - qg1 | pr1 - qr1 */ ;\
179 PMULLW ( MP1, MA1 ) /* t1 = (q1 - p1)*pa1 */ ;\
185 MOVQ ( MA1, MP1 ) ;\
191 PADDW ( MA1, MP1 ) /* t1 + (t1 >> 8) ~= (t1/255) << 8 */ ;\
197 PADDW ( MP1, MA1 ) /* t1 + (t1 >> 8) + (t1 >>15) ~= (t1/255) << 8 */ ;\
220 #define GMB_UNPACK(MP1, MQ1, MP2, MQ2, M00) \ argument
221 TWO(MOVQ ( MP1, MP2 )) ;\
226 PUNPCKLBW ( M00, MP1 ) /* pa1 | pb1 | pg1 | pr1 */ ;\
229 #define GMB_ALPHA(MP1, MA1, MP2, MA2) \ argument
230 MOVQ ( MP1, MA1 ) ;\