Lines Matching refs:mm5
83 PMINUB(%%mm1, %%mm3, %%mm5)
90 PMINUB(%%mm2, %%mm3, %%mm5)
98 PMINUB(%%mm1, %%mm3, %%mm5)
108 PMINUB(%%mm2, %%mm3, %%mm5)
116 PMINUB(%%mm1, %%mm3, %%mm5)
124 PMINUB(%%mm2, %%mm3, %%mm5)
132 PMINUB(%%mm1, %%mm3, %%mm5)
190 "movq (%0, %1), %%mm5 \n\t"
191 "movq %%mm5, %%mm1 \n\t"
193 "psubusb %%mm6, %%mm5 \n\t"
195 "por %%mm5, %%mm2 \n\t" // ABS Diff of lines
203 "movq (%0, %1, 8), %%mm5 \n\t"
209 "movq %%mm5, %%mm1 \n\t"
211 "psubusb %%mm7, %%mm5 \n\t"
213 "por %%mm5, %%mm2 \n\t" // ABS Diff of lines
234 "movq %%mm2, %%mm5 \n\t" // 1
242 // mm1=2 mm2=3(211) mm4=1 mm5=5 mm6=0 mm7=9
247 PAVGB((%%REGa,%1,2), %%mm5) // 11 /2
248 PAVGB((%%REGa), %%mm5) // 211 /4
249 PAVGB(%%mm5, %%mm3) // 2 2211 /8
252 // mm1=2 mm2=3(211) mm4=1 mm5=4(211) mm6=0 mm7=9
262 // mm1=2 mm2=3 mm3=6(11) mm4=1 mm5=4(211) mm6=0(11) mm7=9
269 PAVGB(%%mm5, %%mm6) //112242211 /16
270 "movq (%%"REG_a"), %%mm5 \n\t" // 1
272 // mm0=7(11) mm1=2(11) mm2=3 mm3=6(11) mm4=1(11) mm5=4 mm7=9
277 PAVGB(%%mm5, %%mm2) // 11 /2
282 // mm0=7(11) mm1=2(11) mm2=3(112) mm3=6(11) mm4=5 mm5=4 mm7=9
284 PAVGB(%%mm4, %%mm5) // 11 /2
285 PAVGB(%%mm5, %%mm0) // 11 11 /4
290 // mm2=3(112) mm3=6(11) mm4=5 mm5=4(11) mm6=6 mm7=9
297 // mm0=8 mm3=6(11) mm4=5 mm5=4(11) mm7=9
298 PAVGB(%%mm7, %%mm5) // 11 2 /4
299 PAVGB(%%mm7, %%mm5) // 11 6 /8
302 PAVGB(%%mm0, %%mm5) // 112246 /16
303 "movq %%mm5, (%%"REG_a", %1, 4) \n\t" // X
379 "movq %%mm3, %%mm5 \n\t" // line 5
381 "psubusb %%mm5, %%mm4 \n\t"
385 "psubusb %%mm5, %%mm2 \n\t"
388 "psubusb %%mm1, %%mm5 \n\t"
389 "por %%mm5, %%mm4 \n\t" // |l4 - l5|
542 "movq %%mm3, %%mm5 \n\t" // l3
545 PAVGB(%%mm5, %%mm3) // ~(5l3 + 2l5)/8
552 // mm0= SIGN(menergy), mm1= |lenergy|, mm2= l5, mm3= |menergy|, mm4=l4, mm5= l3, mm7=0
555 "movq %%mm6, %%mm5 \n\t" // l6
558 PAVGB(%%mm5, %%mm6) // ~(5l6 + 2l4)/8
560 "movq (%%"REG_c", %1, 2), %%mm5 \n\t" // l7
563 PAVGB(%%mm5, %%mm2) // ~(l5 + 2l7)/4
588 "movq (%0, %1, 4), %%mm5 \n\t" //l4
590 "psubusb %%mm6, %%mm5 \n\t"
592 "por %%mm6, %%mm5 \n\t" // |l3-l4|
596 PMINUB(%%mm5, %%mm3, %%mm0)
629 "movq %%mm2, %%mm5 \n\t" // -l5-1
636 // mm1=-l3-1, mm0=128-q, mm3=l2, mm4=menergy/16 + 128, mm5= -l5-1
646 // mm0=128-q, mm3=lenergy/16 + 128, mm4= menergy/16 + 128, mm5= -l5-1
648 PAVGB((%%REGc, %1), %%mm5) // (l6-l5+256)/2
653 PAVGB(%%mm5, %%mm2) // ~(l6-l5)/4 + 128
655 PAVGB(%%mm5, %%mm2) // ~(l4-l7)/8 +5(l6-l5)/16 + 128
659 "movq "MANGLE(b00)", %%mm5 \n\t" // 0
661 "psubb %%mm3, %%mm5 \n\t" // 128 - lenergy/16
663 PMAXUB(%%mm5, %%mm3) // 128 + |lenergy/16|
688 "movq "MANGLE(b80)", %%mm5 \n\t" // 128
689 "psubb %%mm0, %%mm5 \n\t" // q
690 "paddsb %%mm6, %%mm5 \n\t" // fix bad rounding
691 "pcmpgtb %%mm5, %%mm7 \n\t" // SIGN(q)
692 "pxor %%mm7, %%mm5 \n\t"
694 PMINUB(%%mm5, %%mm4, %%mm3) // MIN(|q|, 5d/64)
791 "movq %%mm4, %%mm5 \n\t"
793 "punpckhbw %%mm7, %%mm5 \n\t" // high part of line 2
798 "psubw %%mm5, %%mm3 \n\t" // H1 - H2
829 "paddw %%mm5, %%mm5 \n\t" // 2H2
831 "psubw %%mm3, %%mm5 \n\t" // 2H2 - H3 + H4
837 "psubw %%mm3, %%mm5 \n\t" // 2H2 - 5H3 + 5H4
844 "psubw %%mm3, %%mm5 \n\t" // 2H2 - 5H3 + 5H4 - H5
846 "psubw %%mm3, %%mm5 \n\t" // 2H2 - 5H3 + 5H4 - 2H5
929 "pcmpgtw %%mm5, %%mm7 \n\t" // sign(2H2 - 5H3 + 5H4 - 2H5)
930 "pxor %%mm7, %%mm5 \n\t"
931 "psubw %%mm7, %%mm5 \n\t" // |2H2 - 5H3 + 5H4 - 2H5|
936 "pcmpgtw %%mm5, %%mm3 \n\t"
938 "pand %%mm3, %%mm5 \n\t"
942 "psubusw %%mm1, %%mm5 \n\t" // ld
947 "pmullw %%mm2, %%mm5 \n\t"
950 "paddw %%mm2, %%mm5 \n\t"
952 "psrlw $6, %%mm5 \n\t"
972 "pand %%mm3, %%mm5 \n\t"
976 "pminsw %%mm1, %%mm5 \n\t"
981 "movq %%mm5, %%mm2 \n\t"
983 "psubw %%mm2, %%mm5 \n\t"
986 "pxor %%mm7, %%mm5 \n\t"
988 "psubw %%mm7, %%mm5 \n\t"
989 "packsswb %%mm5, %%mm4 \n\t"
1176 "movd -4(%%"REG_a"), %%mm5 \n\t"
1178 "psrlq $24, %%mm5 \n\t"
1180 "por %%mm5, %%mm3 \n\t" // L01
1182 "movq %%mm3, %%mm5 \n\t" // L01
1187 "psubusb %%mm7, %%mm5 \n\t"
1190 "pcmpeqb "MANGLE(b00)", %%mm5 \n\t" // L01 > a ? 0 : -1
1192 "paddb %%mm5, %%mm2 \n\t"
1258 DERING_CORE((%%REGa) ,(%%REGa, %1) ,%%mm0,%%mm2,%%mm4,%%mm1,%%mm3,%%mm5,%%mm6,%%mm7)
1259 DERING_CORE((%%REGa, %1) ,(%%REGa, %1, 2),%%mm2,%%mm4,%%mm0,%%mm3,%%mm5,%%mm1,%%mm6,%%mm7)
1260 DERING_CORE((%%REGa, %1, 2),(%0, %1, 4) ,%%mm4,%%mm0,%%mm2,%%mm5,%%mm1,%%mm3,%%mm6,%%mm7)
1261 DERING_CORE((%0, %1, 4) ,(%%REGd) ,%%mm0,%%mm2,%%mm4,%%mm1,%%mm3,%%mm5,%%mm6,%%mm7)
1262 DERING_CORE((%%REGd) ,(%%REGd, %1) ,%%mm2,%%mm4,%%mm0,%%mm3,%%mm5,%%mm1,%%mm6,%%mm7)
1263 DERING_CORE((%%REGd, %1) ,(%%REGd, %1, 2),%%mm4,%%mm0,%%mm2,%%mm5,%%mm1,%%mm3,%%mm6,%%mm7)
1264 DERING_CORE((%%REGd, %1, 2),(%0, %1, 8) ,%%mm0,%%mm2,%%mm4,%%mm1,%%mm3,%%mm5,%%mm6,%%mm7)
1265 DERING_CORE((%0, %1, 8) ,(%%REGd, %1, 4),%%mm2,%%mm4,%%mm0,%%mm3,%%mm5,%%mm1,%%mm6,%%mm7)
1544 "movq %%mm2, %%mm5 \n\t"\
1547 "punpckhbw %%mm7, %%mm5 \n\t"\
1549 "paddw %%mm5, %%mm4 \n\t"\
1613 "movq %%mm2, %%mm5 \n\t"\
1616 "punpckhbw %%mm7, %%mm5 \n\t"\
1620 "movq %%mm5, %%mm6 \n\t"\
1621 "paddw %%mm5, %%mm5 \n\t"\
1622 "paddw %%mm6, %%mm5 \n\t"\
1629 "paddw %%mm6, %%mm5 \n\t"\
1634 "psubw %%mm6, %%mm5 \n\t"\
1636 "psraw $2, %%mm5 \n\t"\
1637 "packuswb %%mm5, %%mm2 \n\t"\
1863 "movq %%mm2, %%mm5 \n\t"\
1866 "psubusb %%mm0, %%mm5 \n\t"\
1869 "pcmpeqb %%mm7, %%mm5 \n\t"\
1872 "pxor %%mm5, %%mm4 \n\t"\
1873 "pxor %%mm6, %%mm5 \n\t"\
1876 "por %%mm5, %%mm0 \n\t"\
2113 "movq (%0, %%"REG_d"), %%mm5 \n\t" // L5
2115 "psadbw (%1, %%"REG_d"), %%mm5 \n\t" // |L5-R5|
2122 "paddw %%mm5, %%mm6 \n\t"
2131 "movq " #a ", %%mm5 \n\t"\
2134 PAVGB(%%mm2, %%mm5)\
2135 "paddb %%mm6, %%mm5 \n\t"\
2136 "movq %%mm5, %%mm2 \n\t"\
2137 "psllw $8, %%mm5 \n\t"\
2138 "pmaddwd %%mm5, %%mm5 \n\t"\
2140 "paddd %%mm2, %%mm5 \n\t"\
2141 "psrld $14, %%mm5 \n\t"\
2142 "paddd %%mm5, %%mm0 \n\t"
2148 "movq " #a ", %%mm5 \n\t"\
2150 "movq %%mm5, %%mm1 \n\t"\
2152 "punpcklbw %%mm7, %%mm5 \n\t"\
2156 "psubw %%mm2, %%mm5 \n\t"\
2158 "pmaddwd %%mm5, %%mm5 \n\t"\
2160 "paddd %%mm1, %%mm5 \n\t"\
2161 "paddd %%mm5, %%mm0 \n\t"
2207 "movq (%0, %%"REG_d"), %%mm5 \n\t" // L5
2215 "movq %%mm5, (%1, %%"REG_d") \n\t" // L5
2233 "movq (%0, %%"REG_d"), %%mm5 \n\t" // L5
2234 PAVGB((%1, %%REGd), %%mm5) // L5
2244 "movq %%mm5, (%1, %%"REG_d") \n\t" // R5
2252 "movq %%mm5, (%0, %%"REG_d") \n\t" // L5
2268 "movq (%1, %2), %%mm5 \n\t" // R1
2272 PAVGB(%%mm5, %%mm1)
2276 PAVGB(%%mm5, %%mm1)
2293 "movq (%1, %%"REG_d"), %%mm5 \n\t" // R5
2297 PAVGB(%%mm5, %%mm1)
2301 PAVGB(%%mm5, %%mm1)
2322 "movq (%1, %2), %%mm5 \n\t" // R1
2326 PAVGB(%%mm5, %%mm1)
2330 PAVGB(%%mm5, %%mm1)
2334 PAVGB(%%mm5, %%mm1)
2351 "movq (%1, %%"REG_d"), %%mm5 \n\t" // R5
2355 PAVGB(%%mm5, %%mm1)
2359 PAVGB(%%mm5, %%mm1)
2363 PAVGB(%%mm5, %%mm1)
2497 PMINUB(%%mm2, %%mm3, %%mm5)
2505 PMINUB(%%mm1, %%mm3, %%mm5)
2515 PMINUB(%%mm2, %%mm3, %%mm5)
2523 PMINUB(%%mm1, %%mm3, %%mm5)
2531 PMINUB(%%mm2, %%mm3, %%mm5)
2539 PMINUB(%%mm1, %%mm3, %%mm5)
2547 PMINUB(%%mm2, %%mm3, %%mm5)
2592 "movq (%0, %1), %%mm5 \n\t"
2593 "movq %%mm5, %%mm1 \n\t"
2595 "psubusb %%mm6, %%mm5 \n\t"
2597 "por %%mm5, %%mm2 \n\t" // ABS Diff of lines
2606 "movq (%0, %1, 8), %%mm5 \n\t"
2609 "movq %%mm5, %%mm1 \n\t"
2611 "psubusb %%mm7, %%mm5 \n\t"
2613 "por %%mm5, %%mm2 \n\t" // ABS Diff of lines
2622 "movq %%mm6, %%mm5 \n\t"
2624 "punpcklbw %%mm4, %%mm5 \n\t"
2627 "movq %%mm5, %%mm0 \n\t"
2660 "psubw %%mm5, %%mm0 \n\t"
2666 "psubw %%mm5, %%mm0 \n\t"
2672 "psubw %%mm5, %%mm0 \n\t"
2678 "psubw %%mm5, %%mm0 \n\t"
2728 "pcmpeqb %%mm5, %%mm5 \n\t"
2729 "pxor %%mm6, %%mm5 \n\t"
2750 "pand %%mm5, %%mm4 \n\t"
2784 "movq %%mm4, %%mm5 \n\t"
2786 "punpckhbw %%mm7, %%mm5 \n\t" // high part of line 2
2791 "psubw %%mm5, %%mm3 \n\t" // H1 - H2
2822 "paddw %%mm5, %%mm5 \n\t" // 2H2
2824 "psubw %%mm3, %%mm5 \n\t" // 2H2 - H3 + H4
2830 "psubw %%mm3, %%mm5 \n\t" // 2H2 - 5H3 + 5H4
2837 "psubw %%mm3, %%mm5 \n\t" // 2H2 - 5H3 + 5H4 - H5
2839 "psubw %%mm3, %%mm5 \n\t" // 2H2 - 5H3 + 5H4 - 2H5
2922 "pcmpgtw %%mm5, %%mm7 \n\t" // sign(2H2 - 5H3 + 5H4 - 2H5)
2923 "pxor %%mm7, %%mm5 \n\t"
2924 "psubw %%mm7, %%mm5 \n\t" // |2H2 - 5H3 + 5H4 - 2H5|
2929 "pcmpgtw %%mm5, %%mm3 \n\t"
2931 "pand %%mm3, %%mm5 \n\t"
2935 "psubusw %%mm1, %%mm5 \n\t" // ld
2940 "pmullw %%mm2, %%mm5 \n\t"
2943 "paddw %%mm2, %%mm5 \n\t"
2945 "psrlw $6, %%mm5 \n\t"
2965 "pand %%mm3, %%mm5 \n\t"
2969 "pminsw %%mm1, %%mm5 \n\t"
2974 "movq %%mm5, %%mm2 \n\t"
2976 "psubw %%mm2, %%mm5 \n\t"
2979 "pxor %%mm7, %%mm5 \n\t"
2981 "psubw %%mm7, %%mm5 \n\t"
2982 "packsswb %%mm5, %%mm4 \n\t"
3033 "movq " #src1 ", %%mm5 \n\t"\
3037 "punpckhbw %%mm5, %%mm5 \n\t"\
3041 "pmulhuw %%mm3, %%mm5 \n\t"\
3045 "psubw %%mm2, %%mm5 \n\t"\
3048 "packuswb %%mm5, %%mm0 \n\t"\
3056 "movq " #src1 ", %%mm5 \n\t"\
3058 "punpckhbw %%mm4, %%mm5 \n\t"\
3060 "psubw %%mm2, %%mm5 \n\t"\
3063 "psllw $6, %%mm5 \n\t"\
3066 "pmulhw %%mm3, %%mm5 \n\t"\
3075 "packuswb %%mm5, %%mm0 \n\t"\