Lines Matching refs:mm5
102 "movq 8(%%"REG_S", %%"REG_c", 2), %%mm5 \n\t" /* srcData */\
107 "pmulhw %%mm0, %%mm5 \n\t"\
109 "paddw %%mm5, %%mm4 \n\t"\
143 "movq (%%"REG_S", %%"REG_a"), %%mm5 \n\t" /* VsrcData */\
147 "pmulhw %%mm0, %%mm5 \n\t"\
149 "paddw %%mm5, %%mm4 \n\t"\
174 YSCALEYUV2PACKEDX_YA(LUM_MMX_FILTER_OFFSET,%%mm0,%%mm2,%%mm5,%%mm1,%%mm7) \
193 "pxor %%mm5, %%mm5 \n\t"\
210 "paddd %%mm3, %%mm5 \n\t"\
225 "psrad $16, %%mm5 \n\t"\
229 "packssdw %%mm5, %%mm4 \n\t"\
240 "pxor %%mm5, %%mm5 \n\t"\
256 "paddd %%mm3, %%mm5 \n\t"\
270 "psrad $16, %%mm5 \n\t"\
274 "packssdw %%mm5, %%mm1 \n\t"\
289 "movq %%mm4, %%mm5 \n\t" /* (V-128)8*/\
292 /* mm2=(U-128)8, mm3=ug, mm4=vg mm5=(V-128)8 */\
294 "pmulhw "VR_COEFF"(%0), %%mm5 \n\t"\
299 /* mm1= Y1, mm2=ub, mm3=ug, mm4=vg mm5=vr, mm7=Y2 */\
302 "movq %%mm5, %%mm6 \n\t"\
305 "punpcklwd %%mm5, %%mm5 \n\t"\
308 "paddw %%mm1, %%mm5 \n\t"\
316 /* mm0=B1, mm2=B2, mm3=G2, mm4=G1, mm5=R1, mm6=R2 */\
318 "packuswb %%mm6, %%mm5 \n\t"\
361 "movq %%mm5, "Y_TEMP"(%0) \n\t"
363 "movq "Y_TEMP"(%0), %%mm5 \n\t"
367 WRITEBGR32(%4, "%5", %%REGa, %%mm3, %%mm4, %%mm5, %%mm1, %%mm0, %%mm7, %%mm2, %%mm6)
373 WRITEBGR32(%4, "%5", %%REGa, %%mm2, %%mm4, %%mm5, %%mm7, %%mm0, %%mm1, %%mm3, %%mm6)
396 WRITEBGR32(%4, "%5", %%REGa, %%mm2, %%mm4, %%mm5, %%mm1, %%mm0, %%mm7, %%mm3, %%mm6)
402 WRITEBGR32(%4, "%5", %%REGa, %%mm2, %%mm4, %%mm5, %%mm7, %%mm0, %%mm1, %%mm3, %%mm6)
410 "pand "MANGLE(bF8)", %%mm5 \n\t" /* R */\
417 "punpcklbw %%mm5, %%mm2 \n\t"\
419 "punpckhbw %%mm5, %%mm1 \n\t"\
449 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
453 "paddusb "RED_DITHER"(%0), %%mm5\n\t"
473 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
477 "paddusb "RED_DITHER"(%0), %%mm5 \n\t"
486 "pand "MANGLE(bF8)", %%mm5 \n\t" /* R */\
488 "psrlq $1, %%mm5 \n\t"\
494 "punpcklbw %%mm5, %%mm2 \n\t"\
496 "punpckhbw %%mm5, %%mm1 \n\t"\
526 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
530 "paddusb "RED_DITHER"(%0), %%mm5\n\t"
550 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
554 "paddusb "RED_DITHER"(%0), %%mm5 \n\t"
561 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */\
563 "movq %%mm5, %%mm6 \n\t" /* R */\
565 "punpcklbw %%mm7, %%mm5 \n\t" /* 0R0R0R0R 0 */\
570 "punpcklwd %%mm5, %%mm0 \n\t" /* 0RGB0RGB 0 */\
571 "punpckhwd %%mm5, %%mm2 \n\t" /* 0RGB0RGB 1 */\
577 "movq %%mm1, %%mm5 \n\t" /* 0RGB0RGB 2 */\
587 "punpckhdq %%mm5, %%mm1 \n\t" /* 0RGBRGB0 2 */\
597 "movq %%mm1, %%mm5 \n\t" /* 0RGBRGB0 2 */\
602 "psrlq $40, %%mm5 \n\t" /* 000000RG 2 */\
604 "por %%mm3, %%mm5 \n\t" /* RGBRGBRG 2 */\
605 MOVNTQ(%%mm5, 16(dst))\
614 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */\
619 "pshufw $0x00, %%mm5, %%mm6 \n\t" /* R1 R0 R1 R0 R1 R0 R1 R0 */\
633 "pshufw $0xA5, %%mm5, %%mm6 \n\t" /* R5 R4 R5 R4 R3 R2 R3 R2 */\
645 "pshufw $0xFA, %%mm5, %%mm6 \n\t" /* R7 R6 R7 R6 R5 R4 R5 R4 */\
750 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
771 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
787 "movq (%2, "#index"), %%mm5 \n\t" /* uvbuf0[eax+2048]*/\
791 "psubw %%mm4, %%mm5 \n\t" /* uvbuf0[eax+2048] - uvbuf1[eax+2048]*/\
794 "pmulhw %%mm0, %%mm5 \n\t" /* (uvbuf0[eax+2048] - uvbuf1[eax+2048])uvalpha1>>16*/\
798 "paddw %%mm5, %%mm4 \n\t" /* uvbuf0[eax+2048]uvalpha1 - uvbuf1[eax+2048](1-uvalpha1)*/\
802 "movq %%mm4, %%mm5 \n\t" /* (V-128)8*/\
805 /* mm2=(U-128)8, mm3=ug, mm4=vg mm5=(V-128)8 */\
823 "pmulhw "VR_COEFF"("#c"), %%mm5 \n\t"\
828 /* mm1= Y1, mm2=ub, mm3=ug, mm4=vg mm5=vr, mm7=Y2 */\
831 "movq %%mm5, %%mm6 \n\t"\
834 "punpcklwd %%mm5, %%mm5 \n\t"\
837 "paddw %%mm1, %%mm5 \n\t"\
845 /* mm0=B1, mm2=B2, mm3=G2, mm4=G1, mm5=R1, mm6=R2 */\
847 "packuswb %%mm6, %%mm5 \n\t"\
877 WRITEBGR32(%4, DSTW_OFFSET"(%5)", %%r8, %%mm2, %%mm4, %%mm5, %%mm1, %%mm0, %%mm7, %%mm3, %%mm6)
901 WRITEBGR32(%%REGb, DSTW_OFFSET"(%5)", %%REGBP, %%mm2, %%mm4, %%mm5, %%mm1, %%mm0, %%mm7, %%mm3, %%mm6)
915 WRITEBGR32(%%REGb, DSTW_OFFSET"(%5)", %%REGBP, %%mm2, %%mm4, %%mm5, %%mm7, %%mm0, %%mm1, %%mm3, %%mm6)
961 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
965 "paddusb "RED_DITHER"(%5), %%mm5 \n\t"
990 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
994 "paddusb "RED_DITHER"(%5), %%mm5 \n\t"
1018 "movq (%2, "#index"), %%mm5 \n\t" /* uvbuf0[eax+2048]*/\
1022 "psubw %%mm4, %%mm5 \n\t" /* uvbuf0[eax+2048] - uvbuf1[eax+2048]*/\
1025 "pmulhw %%mm0, %%mm5 \n\t" /* (uvbuf0[eax+2048] - uvbuf1[eax+2048])uvalpha1>>16*/\
1029 "paddw %%mm5, %%mm4 \n\t" /* uvbuf0[eax+2048]uvalpha1 - uvbuf1[eax+2048](1-uvalpha1)*/\
1079 "movq %%mm4, %%mm5 \n\t" /* (V-128)8*/\
1082 /* mm2=(U-128)8, mm3=ug, mm4=vg mm5=(V-128)8 */\
1088 "pmulhw "VR_COEFF"("#c"), %%mm5 \n\t"\
1093 /* mm1= Y1, mm2=ub, mm3=ug, mm4=vg mm5=vr, mm7=Y2 */\
1096 "movq %%mm5, %%mm6 \n\t"\
1099 "punpcklwd %%mm5, %%mm5 \n\t"\
1102 "paddw %%mm1, %%mm5 \n\t"\
1110 /* mm0=B1, mm2=B2, mm3=G2, mm4=G1, mm5=R1, mm6=R2 */\
1112 "packuswb %%mm6, %%mm5 \n\t"\
1125 "movq (%2, "#index"), %%mm5 \n\t" /* uvbuf0[eax+2048]*/\
1129 "paddw %%mm5, %%mm4 \n\t" /* uvbuf0[eax+2048] + uvbuf1[eax+2048]*/\
1135 "movq %%mm4, %%mm5 \n\t" /* (V-128)8*/\
1138 /* mm2=(U-128)8, mm3=ug, mm4=vg mm5=(V-128)8 */\
1144 "pmulhw "VR_COEFF"("#c"), %%mm5 \n\t"\
1149 /* mm1= Y1, mm2=ub, mm3=ug, mm4=vg mm5=vr, mm7=Y2 */\
1152 "movq %%mm5, %%mm6 \n\t"\
1155 "punpcklwd %%mm5, %%mm5 \n\t"\
1158 "paddw %%mm1, %%mm5 \n\t"\
1166 /* mm0=B1, mm2=B2, mm3=G2, mm4=G1, mm5=R1, mm6=R2 */\
1168 "packuswb %%mm6, %%mm5 \n\t"\
1201 WRITEBGR32(%%REGb, DSTW_OFFSET"(%5)", %%REGBP, %%mm2, %%mm4, %%mm5, %%mm7, %%mm0, %%mm1, %%mm3, %%mm6)
1214 WRITEBGR32(%%REGb, DSTW_OFFSET"(%5)", %%REGBP, %%mm2, %%mm4, %%mm5, %%mm7, %%mm0, %%mm1, %%mm3, %%mm6)
1230 WRITEBGR32(%%REGb, DSTW_OFFSET"(%5)", %%REGBP, %%mm2, %%mm4, %%mm5, %%mm7, %%mm0, %%mm1, %%mm3, %%mm6)
1243 WRITEBGR32(%%REGb, DSTW_OFFSET"(%5)", %%REGBP, %%mm2, %%mm4, %%mm5, %%mm7, %%mm0, %%mm1, %%mm3, %%mm6)
1310 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
1314 "paddusb "RED_DITHER"(%5), %%mm5 \n\t"
1331 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
1335 "paddusb "RED_DITHER"(%5), %%mm5 \n\t"
1363 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
1367 "paddusb "RED_DITHER"(%5), %%mm5 \n\t"
1384 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
1388 "paddusb "RED_DITHER"(%5), %%mm5 \n\t"
1424 "movq (%2, "#index"), %%mm5 \n\t" /* uvbuf0[eax+2048]*/\
1428 "paddw %%mm5, %%mm4 \n\t" /* uvbuf0[eax+2048] + uvbuf1[eax+2048]*/\