Lines Matching refs:mm4
47 "movq %%mm3, %%mm4 \n\t"\
59 "paddw %%mm5, %%mm4 \n\t"\
101 "pxor %%mm4, %%mm4 \n\t"\
118 "paddd %%mm0, %%mm4 \n\t"\
133 "psrad $16, %%mm4 \n\t"\
138 "packssdw %%mm5, %%mm4 \n\t"\
140 "paddw %%mm0, %%mm4 \n\t"\
142 "movq %%mm4, "U_TEMP"(%0) \n\t"\
157 "movq (%%"REG_S", %%"REG_a", 2), %%mm4 \n\t" /* Y1srcData */\
159 "punpcklwd %%mm4, %%mm0 \n\t"\
160 "punpckhwd %%mm4, %%mm3 \n\t"\
161 "movq "STR(APCK_COEF)"(%%"REG_d"), %%mm4 \n\t" /* filterCoeff */\
162 "pmaddwd %%mm4, %%mm0 \n\t"\
163 "pmaddwd %%mm4, %%mm3 \n\t"\
173 "pmaddwd %%mm4, %%mm2 \n\t"\
174 "pmaddwd %%mm4, %%mm0 \n\t"\
188 "movq "V_TEMP"(%0), %%mm4 \n\t"\
196 "psubw "V_OFFSET"(%0), %%mm4 \n\t" /* (V-128)8*/\
198 "movq %%mm4, %%mm5 \n\t" /* (V-128)8*/\
200 "pmulhw "VG_COEFF"(%0), %%mm4 \n\t"\
201 /* mm2=(U-128)8, mm3=ug, mm4=vg mm5=(V-128)8 */\
208 /* mm1= Y1, mm2=ub, mm3=ug, mm4=vg mm5=vr, mm7=Y2 */\
209 "paddw %%mm3, %%mm4 \n\t"\
212 "movq %%mm4, %%mm3 \n\t"\
215 "punpcklwd %%mm4, %%mm4 \n\t"\
218 "paddw %%mm1, %%mm4 \n\t"\
225 /* mm0=B1, mm2=B2, mm3=G2, mm4=G1, mm5=R1, mm6=R2 */\
228 "packuswb %%mm3, %%mm4 \n\t"\
269 "movq %%mm4, "V_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)
318 "pand "MANGLE(bFC)", %%mm4 \n\t" /* G */\
323 "movq %%mm4, %%mm3 \n\t"\
327 "punpckhbw %%mm7, %%mm4 \n\t"\
331 "psllq $3, %%mm4 \n\t"\
334 "por %%mm4, %%mm1 \n\t"\
358 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
361 "paddusb "GREEN_DITHER"(%0), %%mm4\n\t"
382 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
385 "paddusb "GREEN_DITHER"(%0), %%mm4 \n\t"
394 "pand "MANGLE(bF8)", %%mm4 \n\t" /* G */\
400 "movq %%mm4, %%mm3 \n\t"\
404 "punpckhbw %%mm7, %%mm4 \n\t"\
408 "psllq $2, %%mm4 \n\t"\
411 "por %%mm4, %%mm1 \n\t"\
435 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
438 "paddusb "GREEN_DITHER"(%0), %%mm4\n\t"
459 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
462 "paddusb "GREEN_DITHER"(%0), %%mm4 \n\t"
470 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */\
473 "punpcklbw %%mm4, %%mm2 \n\t" /* GBGBGBGB 0 */\
475 "punpckhbw %%mm4, %%mm1 \n\t" /* GBGBGBGB 2 */\
484 "movq %%mm0, %%mm4 \n\t" /* 0RGB0RGB 0 */\
494 "punpckhdq %%mm4, %%mm0 \n\t" /* 0RGBRGB0 0 */\
523 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */\
527 "pshufw $0x50, %%mm4, %%mm3 \n\t" /* G3 G2 G3 G2 G1 G0 G1 G0 */\
539 "psrlq $8, %%mm4 \n\t" /* 00 G7 G6 G5 G4 G3 G2 G1 */\
541 "pshufw $0x55, %%mm4, %%mm3 \n\t" /* G4 G3 G4 G3 G4 G3 G4 G3 */\
553 "pshufw $0xFA, %%mm4, %%mm3 \n\t" /* 00 G7 00 G7 G6 G5 G6 G5 */\
628 "packuswb %%mm4, %%mm4 \n\t"\
630 "punpcklbw %%mm4, %%mm3 \n\t"\
655 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
657 "psraw $3, %%mm4 \n\t"
676 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
678 "psraw $3, %%mm4 \n\t"
693 "movq (%3, "#index"), %%mm4 \n\t" /* uvbuf1[eax+2048]*/\
696 "psubw %%mm4, %%mm5 \n\t" /* uvbuf0[eax+2048] - uvbuf1[eax+2048]*/\
701 "psraw $4, %%mm4 \n\t" /* uvbuf0[eax+2048] - uvbuf1[eax+2048] >>4*/\
703 "paddw %%mm5, %%mm4 \n\t" /* uvbuf0[eax+2048]uvalpha1 - uvbuf1[eax+2048](1-uvalpha1)*/\
705 "psubw "V_OFFSET"("#c"), %%mm4 \n\t" /* (V-128)8*/\
707 "movq %%mm4, %%mm5 \n\t" /* (V-128)8*/\
709 "pmulhw "VG_COEFF"("#c"), %%mm4 \n\t"\
710 /* mm2=(U-128)8, mm3=ug, mm4=vg mm5=(V-128)8 */\
733 /* mm1= Y1, mm2=ub, mm3=ug, mm4=vg mm5=vr, mm7=Y2 */\
734 "paddw %%mm3, %%mm4 \n\t"\
737 "movq %%mm4, %%mm3 \n\t"\
740 "punpcklwd %%mm4, %%mm4 \n\t"\
743 "paddw %%mm1, %%mm4 \n\t"\
750 /* mm0=B1, mm2=B2, mm3=G2, mm4=G1, mm5=R1, mm6=R2 */\
753 "packuswb %%mm3, %%mm4 \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 */
870 "paddusb "GREEN_DITHER"(%5), %%mm4 \n\t"
896 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
899 "paddusb "GREEN_DITHER"(%5), %%mm4 \n\t"
924 "movq (%3, "#index"), %%mm4 \n\t" /* uvbuf1[eax+2048]*/\
927 "psubw %%mm4, %%mm5 \n\t" /* uvbuf0[eax+2048] - uvbuf1[eax+2048]*/\
932 "psraw $7, %%mm4 \n\t" /* uvbuf0[eax+2048] - uvbuf1[eax+2048] >>4*/\
934 "paddw %%mm5, %%mm4 \n\t" /* uvbuf0[eax+2048]uvalpha1 - uvbuf1[eax+2048](1-uvalpha1)*/\
978 "movq (%2, "#index"), %%mm4 \n\t" /* uvbuf0[eax+2048]*/\
981 "psraw $4, %%mm4 \n\t" /* uvbuf0[eax+2048] - uvbuf1[eax+2048] >>4*/\
983 "psubw "V_OFFSET"("#c"), %%mm4 \n\t" /* (V-128)8*/\
985 "movq %%mm4, %%mm5 \n\t" /* (V-128)8*/\
987 "pmulhw "VG_COEFF"("#c"), %%mm4 \n\t"\
988 /* mm2=(U-128)8, mm3=ug, mm4=vg mm5=(V-128)8 */\
999 /* mm1= Y1, mm2=ub, mm3=ug, mm4=vg mm5=vr, mm7=Y2 */\
1000 "paddw %%mm3, %%mm4 \n\t"\
1003 "movq %%mm4, %%mm3 \n\t"\
1006 "punpcklwd %%mm4, %%mm4 \n\t"\
1009 "paddw %%mm1, %%mm4 \n\t"\
1016 /* mm0=B1, mm2=B2, mm3=G2, mm4=G1, mm5=R1, mm6=R2 */\
1019 "packuswb %%mm3, %%mm4 \n\t"\
1032 "movq (%3, "#index"), %%mm4 \n\t" /* uvbuf1[eax+2048]*/\
1035 "paddw %%mm5, %%mm4 \n\t" /* uvbuf0[eax+2048] + uvbuf1[eax+2048]*/\
1037 "psrlw $5, %%mm4 \n\t" /*FIXME might overflow*/\
1039 "psubw "V_OFFSET"("#c"), %%mm4 \n\t" /* (V-128)8*/\
1041 "movq %%mm4, %%mm5 \n\t" /* (V-128)8*/\
1043 "pmulhw "VG_COEFF"("#c"), %%mm4 \n\t"\
1044 /* mm2=(U-128)8, mm3=ug, mm4=vg mm5=(V-128)8 */\
1055 /* mm1= Y1, mm2=ub, mm3=ug, mm4=vg mm5=vr, mm7=Y2 */\
1056 "paddw %%mm3, %%mm4 \n\t"\
1059 "movq %%mm4, %%mm3 \n\t"\
1062 "punpcklwd %%mm4, %%mm4 \n\t"\
1065 "paddw %%mm1, %%mm4 \n\t"\
1072 /* mm0=B1, mm2=B2, mm3=G2, mm4=G1, mm5=R1, mm6=R2 */\
1075 "packuswb %%mm3, %%mm4 \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 */
1212 "paddusb "GREEN_DITHER"(%5), %%mm4 \n\t"
1228 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
1231 "paddusb "GREEN_DITHER"(%5), %%mm4 \n\t"
1258 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
1261 "paddusb "GREEN_DITHER"(%5), %%mm4 \n\t"
1277 /* mm2=B, %%mm4=G, %%mm5=R, %%mm7=0 */
1280 "paddusb "GREEN_DITHER"(%5), %%mm4 \n\t"
1298 "movq (%2, "#index"), %%mm4 \n\t" /* uvbuf0[eax+2048]*/\
1301 "psraw $7, %%mm4 \n\t" \
1317 "movq (%3, "#index"), %%mm4 \n\t" /* uvbuf1[eax+2048]*/\
1320 "paddw %%mm5, %%mm4 \n\t" /* uvbuf0[eax+2048] + uvbuf1[eax+2048]*/\
1322 "psrlw $8, %%mm4 \n\t" \
1383 "movq "MANGLE(ff_bgr24toYOffset)", %%mm4 \n\t"
1403 "paddd %%mm4, %%mm0 \n\t"
1404 "paddd %%mm4, %%mm2 \n\t"
1458 "movq %%mm1, %%mm4 \n\t"
1462 "pmaddwd 16(%4), %%mm4 \n\t"
1465 "paddd %%mm5, %%mm4 \n\t"
1471 "paddd %%mm3, %%mm4 \n\t"
1475 "psrad $15, %%mm4 \n\t"
1477 "packssdw %%mm4, %%mm2 \n\t"