Lines Matching refs:mm2
51 "movq (%%"REG_S", %%"REG_a"), %%mm2 \n\t" /* UsrcData */\
56 "pmulhw %%mm0, %%mm2 \n\t"\
58 "paddw %%mm2, %%mm3 \n\t"\
84 YSCALEYUV2PACKEDX_YA(LUM_MMX_FILTER_OFFSET,%%mm0,%%mm2,%%mm5,%%mm1,%%mm7) \
109 "movq (%%"REG_S", %%"REG_a"), %%mm2 \n\t" /* VsrcData */\
125 "movq %%mm2, %%mm0 \n\t"\
126 "punpcklwd %%mm3, %%mm2 \n\t"\
128 "pmaddwd %%mm1, %%mm2 \n\t"\
130 "paddd %%mm2, %%mm6 \n\t"\
155 "movq 8(%%"REG_S", %%"REG_a", 2), %%mm2 \n\t" /* Y2srcData */\
170 "movq %%mm2, %%mm0 \n\t"\
171 "punpcklwd %%mm3, %%mm2 \n\t"\
173 "pmaddwd %%mm4, %%mm2 \n\t"\
175 "paddd %%mm2, %%mm7 \n\t"\
197 "movq %%mm3, %%mm2 \n\t" /* (U-128)8*/\
201 /* mm2=(U-128)8, mm3=ug, mm4=vg mm5=(V-128)8 */\
202 "pmulhw "UB_COEFF"(%0), %%mm2 \n\t"\
208 /* mm1= Y1, mm2=ub, mm3=ug, mm4=vg mm5=vr, mm7=Y2 */\
210 "movq %%mm2, %%mm0 \n\t"\
213 "punpcklwd %%mm2, %%mm2 \n\t"\
216 "paddw %%mm1, %%mm2 \n\t"\
225 /* mm0=B1, mm2=B2, mm3=G2, mm4=G1, mm5=R1, mm6=R2 */\
226 "packuswb %%mm0, %%mm2 \n\t"\
268 "movq %%mm2, "U_TEMP"(%0) \n\t"
276 WRITEBGR32(%4, %5, %%REGa, %%mm3, %%mm4, %%mm5, %%mm1, %%mm0, %%mm7, %%mm2, %%mm6)
282 WRITEBGR32(%4, %5, %%REGa, %%mm2, %%mm4, %%mm5, %%mm7, %%mm0, %%mm1, %%mm3, %%mm6)
305 WRITEBGR32(%4, %5, %%REGa, %%mm2, %%mm4, %%mm5, %%mm1, %%mm0, %%mm7, %%mm3, %%mm6)
311 WRITEBGR32(%4, %5, %%REGa, %%mm2, %%mm4, %%mm5, %%mm7, %%mm0, %%mm1, %%mm3, %%mm6)
317 "pand "MANGLE(bF8)", %%mm2 \n\t" /* B */\
320 "psrlq $3, %%mm2 \n\t"\
322 "movq %%mm2, %%mm1 \n\t"\
326 "punpcklbw %%mm5, %%mm2 \n\t"\
333 "por %%mm3, %%mm2 \n\t"\
336 MOVNTQ(%%mm2, (dst, index, 2))\
358 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
360 "paddusb "BLUE_DITHER"(%0), %%mm2\n\t"
382 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
384 "paddusb "BLUE_DITHER"(%0), %%mm2 \n\t"
393 "pand "MANGLE(bF8)", %%mm2 \n\t" /* B */\
396 "psrlq $3, %%mm2 \n\t"\
399 "movq %%mm2, %%mm1 \n\t"\
403 "punpcklbw %%mm5, %%mm2 \n\t"\
410 "por %%mm3, %%mm2 \n\t"\
413 MOVNTQ(%%mm2, (dst, index, 2))\
435 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
437 "paddusb "BLUE_DITHER"(%0), %%mm2\n\t"
459 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
461 "paddusb "BLUE_DITHER"(%0), %%mm2 \n\t"
470 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */\
471 "movq %%mm2, %%mm1 \n\t" /* B */\
473 "punpcklbw %%mm4, %%mm2 \n\t" /* GBGBGBGB 0 */\
477 "movq %%mm2, %%mm0 \n\t" /* GBGBGBGB 0 */\
480 "punpckhwd %%mm5, %%mm2 \n\t" /* 0RGB0RGB 1 */\
485 "movq %%mm2, %%mm6 \n\t" /* 0RGB0RGB 1 */\
490 "psllq $40, %%mm2 \n\t" /* RGB00000 1 */\
495 "punpckhdq %%mm6, %%mm2 \n\t" /* 0RGBRGB0 1 */\
500 "movq %%mm2, %%mm6 \n\t" /* 0RGBRGB0 1 */\
501 "psllq $40, %%mm2 \n\t" /* GB000000 1 */\
502 "por %%mm2, %%mm0 \n\t" /* GBRGBRGB 0 */\
523 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */\
526 "pshufw $0x50, %%mm2, %%mm1 \n\t" /* B3 B2 B3 B2 B1 B0 B1 B0 */\
540 "pshufw $0xA5, %%mm2, %%mm1 \n\t" /* B5 B4 B5 B4 B3 B2 B3 B2 */\
552 "pshufw $0xFF, %%mm2, %%mm1 \n\t" /* B7 B6 B7 B6 B7 B6 B6 B7 */\
655 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
676 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
689 "movq (%2, "#index"), %%mm2 \n\t" /* uvbuf0[eax]*/\
695 "psubw %%mm3, %%mm2 \n\t" /* uvbuf0[eax] - uvbuf1[eax]*/\
698 "pmulhw %%mm0, %%mm2 \n\t" /* (uvbuf0[eax] - uvbuf1[eax])uvalpha1>>16*/\
702 "paddw %%mm2, %%mm3 \n\t" /* uvbuf0[eax]uvalpha1 - uvbuf1[eax](1-uvalpha1)*/\
706 "movq %%mm3, %%mm2 \n\t" /* (U-128)8*/\
710 /* mm2=(U-128)8, mm3=ug, mm4=vg mm5=(V-128)8 */\
727 "pmulhw "UB_COEFF"("#c"), %%mm2 \n\t"\
733 /* mm1= Y1, mm2=ub, mm3=ug, mm4=vg mm5=vr, mm7=Y2 */\
735 "movq %%mm2, %%mm0 \n\t"\
738 "punpcklwd %%mm2, %%mm2 \n\t"\
741 "paddw %%mm1, %%mm2 \n\t"\
750 /* mm0=B1, mm2=B2, mm3=G2, mm4=G1, mm5=R1, mm6=R2 */\
751 "packuswb %%mm0, %%mm2 \n\t"\
782 WRITEBGR32(%4, 8280(%5), %%r8, %%mm2, %%mm4, %%mm5, %%mm1, %%mm0, %%mm7, %%mm3, %%mm6)
806 WRITEBGR32(%%REGb, 8280(%5), %%REGBP, %%mm2, %%mm4, %%mm5, %%mm1, %%mm0, %%mm7, %%mm3, %%mm6)
820 WRITEBGR32(%%REGb, 8280(%5), %%REGBP, %%mm2, %%mm4, %%mm5, %%mm7, %%mm0, %%mm1, %%mm3, %%mm6)
867 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
869 "paddusb "BLUE_DITHER"(%5), %%mm2 \n\t"
896 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
898 "paddusb "BLUE_DITHER"(%5), %%mm2 \n\t"
920 "movq (%2, "#index"), %%mm2 \n\t" /* uvbuf0[eax]*/\
926 "psubw %%mm3, %%mm2 \n\t" /* uvbuf0[eax] - uvbuf1[eax]*/\
929 "pmulhw %%mm0, %%mm2 \n\t" /* (uvbuf0[eax] - uvbuf1[eax])uvalpha1>>16*/\
933 "paddw %%mm2, %%mm3 \n\t" /* uvbuf0[eax]uvalpha1 - uvbuf1[eax](1-uvalpha1)*/\
984 "movq %%mm3, %%mm2 \n\t" /* (U-128)8*/\
988 /* mm2=(U-128)8, mm3=ug, mm4=vg mm5=(V-128)8 */\
993 "pmulhw "UB_COEFF"("#c"), %%mm2 \n\t"\
999 /* mm1= Y1, mm2=ub, mm3=ug, mm4=vg mm5=vr, mm7=Y2 */\
1001 "movq %%mm2, %%mm0 \n\t"\
1004 "punpcklwd %%mm2, %%mm2 \n\t"\
1007 "paddw %%mm1, %%mm2 \n\t"\
1016 /* mm0=B1, mm2=B2, mm3=G2, mm4=G1, mm5=R1, mm6=R2 */\
1017 "packuswb %%mm0, %%mm2 \n\t"\
1028 "movq (%2, "#index"), %%mm2 \n\t" /* uvbuf0[eax]*/\
1034 "paddw %%mm2, %%mm3 \n\t" /* uvbuf0[eax] + uvbuf1[eax]*/\
1040 "movq %%mm3, %%mm2 \n\t" /* (U-128)8*/\
1044 /* mm2=(U-128)8, mm3=ug, mm4=vg mm5=(V-128)8 */\
1049 "pmulhw "UB_COEFF"("#c"), %%mm2 \n\t"\
1055 /* mm1= Y1, mm2=ub, mm3=ug, mm4=vg mm5=vr, mm7=Y2 */\
1057 "movq %%mm2, %%mm0 \n\t"\
1060 "punpcklwd %%mm2, %%mm2 \n\t"\
1063 "paddw %%mm1, %%mm2 \n\t"\
1072 /* mm0=B1, mm2=B2, mm3=G2, mm4=G1, mm5=R1, mm6=R2 */\
1073 "packuswb %%mm0, %%mm2 \n\t"\
1106 WRITEBGR32(%%REGb, 8280(%5), %%REGBP, %%mm2, %%mm4, %%mm5, %%mm7, %%mm0, %%mm1, %%mm3, %%mm6)
1119 WRITEBGR32(%%REGb, 8280(%5), %%REGBP, %%mm2, %%mm4, %%mm5, %%mm7, %%mm0, %%mm1, %%mm3, %%mm6)
1134 WRITEBGR32(%%REGb, 8280(%5), %%REGBP, %%mm2, %%mm4, %%mm5, %%mm7, %%mm0, %%mm1, %%mm3, %%mm6)
1147 WRITEBGR32(%%REGb, 8280(%5), %%REGBP, %%mm2, %%mm4, %%mm5, %%mm7, %%mm0, %%mm1, %%mm3, %%mm6)
1209 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
1211 "paddusb "BLUE_DITHER"(%5), %%mm2 \n\t"
1228 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
1230 "paddusb "BLUE_DITHER"(%5), %%mm2 \n\t"
1258 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
1260 "paddusb "BLUE_DITHER"(%5), %%mm2 \n\t"
1277 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
1279 "paddusb "BLUE_DITHER"(%5), %%mm2 \n\t"
1313 "movq (%2, "#index"), %%mm2 \n\t" /* uvbuf0[eax]*/\
1319 "paddw %%mm2, %%mm3 \n\t" /* uvbuf0[eax] + uvbuf1[eax]*/\
1390 "movd 6(%0), %%mm2 \n\t"
1395 "punpcklbw %%mm7, %%mm2 \n\t"
1399 "pmaddwd %%mm5, %%mm2 \n\t"
1402 "paddd %%mm3, %%mm2 \n\t"
1404 "paddd %%mm4, %%mm2 \n\t"
1406 "psrad $15, %%mm2 \n\t"
1407 "packssdw %%mm2, %%mm0 \n\t"
1444 "movq %%mm0, %%mm2 \n\t"
1448 "pmaddwd 16(%4), %%mm2 \n\t"
1451 "paddd %%mm3, %%mm2 \n\t"
1469 "paddd %%mm3, %%mm2 \n\t"
1473 "psrad $15, %%mm2 \n\t"
1477 "packssdw %%mm4, %%mm2 \n\t"
1479 "packuswb %%mm2, %%mm2 \n\t"
1481 "movd %%mm2, (%2, %%"REG_a") \n\t"