Lines Matching refs:mm5
53 "movq (%%"REG_S", %%"REG_a"), %%mm5 \n\t" /* VsrcData */\
57 "pmulhw %%mm0, %%mm5 \n\t"\
59 "paddw %%mm5, %%mm4 \n\t"\
84 YSCALEYUV2PACKEDX_YA(LUM_MMX_FILTER_OFFSET,%%mm0,%%mm2,%%mm5,%%mm1,%%mm7) \
102 "pxor %%mm5, %%mm5 \n\t"\
119 "paddd %%mm3, %%mm5 \n\t"\
134 "psrad $16, %%mm5 \n\t"\
138 "packssdw %%mm5, %%mm4 \n\t"\
149 "pxor %%mm5, %%mm5 \n\t"\
165 "paddd %%mm3, %%mm5 \n\t"\
179 "psrad $16, %%mm5 \n\t"\
183 "packssdw %%mm5, %%mm1 \n\t"\
198 "movq %%mm4, %%mm5 \n\t" /* (V-128)8*/\
201 /* mm2=(U-128)8, mm3=ug, mm4=vg mm5=(V-128)8 */\
203 "pmulhw "VR_COEFF"(%0), %%mm5 \n\t"\
208 /* mm1= Y1, mm2=ub, mm3=ug, mm4=vg mm5=vr, mm7=Y2 */\
211 "movq %%mm5, %%mm6 \n\t"\
214 "punpcklwd %%mm5, %%mm5 \n\t"\
217 "paddw %%mm1, %%mm5 \n\t"\
225 /* mm0=B1, mm2=B2, mm3=G2, mm4=G1, mm5=R1, mm6=R2 */\
227 "packuswb %%mm6, %%mm5 \n\t"\
270 "movq %%mm5, "Y_TEMP"(%0) \n\t"
272 "movq "Y_TEMP"(%0), %%mm5 \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)
319 "pand "MANGLE(bF8)", %%mm5 \n\t" /* R */\
326 "punpcklbw %%mm5, %%mm2 \n\t"\
328 "punpckhbw %%mm5, %%mm1 \n\t"\
358 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
362 "paddusb "RED_DITHER"(%0), %%mm5\n\t"
382 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
386 "paddusb "RED_DITHER"(%0), %%mm5 \n\t"
395 "pand "MANGLE(bF8)", %%mm5 \n\t" /* R */\
397 "psrlq $1, %%mm5 \n\t"\
403 "punpcklbw %%mm5, %%mm2 \n\t"\
405 "punpckhbw %%mm5, %%mm1 \n\t"\
435 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
439 "paddusb "RED_DITHER"(%0), %%mm5\n\t"
459 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
463 "paddusb "RED_DITHER"(%0), %%mm5 \n\t"
470 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */\
472 "movq %%mm5, %%mm6 \n\t" /* R */\
474 "punpcklbw %%mm7, %%mm5 \n\t" /* 0R0R0R0R 0 */\
479 "punpcklwd %%mm5, %%mm0 \n\t" /* 0RGB0RGB 0 */\
480 "punpckhwd %%mm5, %%mm2 \n\t" /* 0RGB0RGB 1 */\
486 "movq %%mm1, %%mm5 \n\t" /* 0RGB0RGB 2 */\
496 "punpckhdq %%mm5, %%mm1 \n\t" /* 0RGBRGB0 2 */\
506 "movq %%mm1, %%mm5 \n\t" /* 0RGBRGB0 2 */\
511 "psrlq $40, %%mm5 \n\t" /* 000000RG 2 */\
513 "por %%mm3, %%mm5 \n\t" /* RGBRGBRG 2 */\
514 MOVNTQ(%%mm5, 16(dst))\
523 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */\
528 "pshufw $0x00, %%mm5, %%mm6 \n\t" /* R1 R0 R1 R0 R1 R0 R1 R0 */\
542 "pshufw $0xA5, %%mm5, %%mm6 \n\t" /* R5 R4 R5 R4 R3 R2 R3 R2 */\
554 "pshufw $0xFA, %%mm5, %%mm6 \n\t" /* R7 R6 R7 R6 R5 R4 R5 R4 */\
655 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
676 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
692 "movq (%2, "#index"), %%mm5 \n\t" /* uvbuf0[eax+2048]*/\
696 "psubw %%mm4, %%mm5 \n\t" /* uvbuf0[eax+2048] - uvbuf1[eax+2048]*/\
699 "pmulhw %%mm0, %%mm5 \n\t" /* (uvbuf0[eax+2048] - uvbuf1[eax+2048])uvalpha1>>16*/\
703 "paddw %%mm5, %%mm4 \n\t" /* uvbuf0[eax+2048]uvalpha1 - uvbuf1[eax+2048](1-uvalpha1)*/\
707 "movq %%mm4, %%mm5 \n\t" /* (V-128)8*/\
710 /* mm2=(U-128)8, mm3=ug, mm4=vg mm5=(V-128)8 */\
728 "pmulhw "VR_COEFF"("#c"), %%mm5 \n\t"\
733 /* mm1= Y1, mm2=ub, mm3=ug, mm4=vg mm5=vr, mm7=Y2 */\
736 "movq %%mm5, %%mm6 \n\t"\
739 "punpcklwd %%mm5, %%mm5 \n\t"\
742 "paddw %%mm1, %%mm5 \n\t"\
750 /* mm0=B1, mm2=B2, mm3=G2, mm4=G1, mm5=R1, mm6=R2 */\
752 "packuswb %%mm6, %%mm5 \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 */
871 "paddusb "RED_DITHER"(%5), %%mm5 \n\t"
896 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
900 "paddusb "RED_DITHER"(%5), %%mm5 \n\t"
923 "movq (%2, "#index"), %%mm5 \n\t" /* uvbuf0[eax+2048]*/\
927 "psubw %%mm4, %%mm5 \n\t" /* uvbuf0[eax+2048] - uvbuf1[eax+2048]*/\
930 "pmulhw %%mm0, %%mm5 \n\t" /* (uvbuf0[eax+2048] - uvbuf1[eax+2048])uvalpha1>>16*/\
934 "paddw %%mm5, %%mm4 \n\t" /* uvbuf0[eax+2048]uvalpha1 - uvbuf1[eax+2048](1-uvalpha1)*/\
985 "movq %%mm4, %%mm5 \n\t" /* (V-128)8*/\
988 /* mm2=(U-128)8, mm3=ug, mm4=vg mm5=(V-128)8 */\
994 "pmulhw "VR_COEFF"("#c"), %%mm5 \n\t"\
999 /* mm1= Y1, mm2=ub, mm3=ug, mm4=vg mm5=vr, mm7=Y2 */\
1002 "movq %%mm5, %%mm6 \n\t"\
1005 "punpcklwd %%mm5, %%mm5 \n\t"\
1008 "paddw %%mm1, %%mm5 \n\t"\
1016 /* mm0=B1, mm2=B2, mm3=G2, mm4=G1, mm5=R1, mm6=R2 */\
1018 "packuswb %%mm6, %%mm5 \n\t"\
1031 "movq (%2, "#index"), %%mm5 \n\t" /* uvbuf0[eax+2048]*/\
1035 "paddw %%mm5, %%mm4 \n\t" /* uvbuf0[eax+2048] + uvbuf1[eax+2048]*/\
1041 "movq %%mm4, %%mm5 \n\t" /* (V-128)8*/\
1044 /* mm2=(U-128)8, mm3=ug, mm4=vg mm5=(V-128)8 */\
1050 "pmulhw "VR_COEFF"("#c"), %%mm5 \n\t"\
1055 /* mm1= Y1, mm2=ub, mm3=ug, mm4=vg mm5=vr, mm7=Y2 */\
1058 "movq %%mm5, %%mm6 \n\t"\
1061 "punpcklwd %%mm5, %%mm5 \n\t"\
1064 "paddw %%mm1, %%mm5 \n\t"\
1072 /* mm0=B1, mm2=B2, mm3=G2, mm4=G1, mm5=R1, mm6=R2 */\
1074 "packuswb %%mm6, %%mm5 \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 */
1213 "paddusb "RED_DITHER"(%5), %%mm5 \n\t"
1228 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
1232 "paddusb "RED_DITHER"(%5), %%mm5 \n\t"
1258 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
1262 "paddusb "RED_DITHER"(%5), %%mm5 \n\t"
1277 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
1281 "paddusb "RED_DITHER"(%5), %%mm5 \n\t"
1316 "movq (%2, "#index"), %%mm5 \n\t" /* uvbuf0[eax+2048]*/\
1320 "paddw %%mm5, %%mm4 \n\t" /* uvbuf0[eax+2048] + uvbuf1[eax+2048]*/\
1370 "movq "MANGLE(ff_bgr24toY1Coeff)", %%mm5 \n\t"
1376 "movq "MANGLE(ff_rgb24toY1Coeff)", %%mm5 \n\t"
1397 "pmaddwd %%mm5, %%mm0 \n\t"
1399 "pmaddwd %%mm5, %%mm2 \n\t"
1459 "movq %%mm3, %%mm5 \n\t"
1463 "pmaddwd %%mm6, %%mm5 \n\t"
1465 "paddd %%mm5, %%mm4 \n\t"