Lines Matching refs:mm6
69 "movq %1, %%mm6 \n\t"
86 "pcmpgtb %%mm6, %%mm0 \n\t"
93 "pcmpgtb %%mm6, %%mm1 \n\t"
101 "pcmpgtb %%mm6, %%mm2 \n\t"
111 "pcmpgtb %%mm6, %%mm1 \n\t"
119 "pcmpgtb %%mm6, %%mm2 \n\t"
127 "pcmpgtb %%mm6, %%mm1 \n\t"
135 "pcmpgtb %%mm6, %%mm2 \n\t"
189 "movq (%0), %%mm6 \n\t"
192 "movq %%mm6, %%mm2 \n\t"
193 "psubusb %%mm6, %%mm5 \n\t"
199 "pand %%mm2, %%mm6 \n\t"
201 "por %%mm2, %%mm6 \n\t"// First Line to Filter
230 PAVGB(%%mm6, %%mm0) //1 1 /2
231 PAVGB(%%mm6, %%mm0) //3 1 /4
242 // mm1=2 mm2=3(211) mm4=1 mm5=5 mm6=0 mm7=9
244 PAVGB(%%mm6, %%mm0) //1 1 /2
252 // mm1=2 mm2=3(211) mm4=1 mm5=4(211) mm6=0 mm7=9
253 PAVGB(%%mm4, %%mm6) //11 /2
258 PAVGB(%%mm6, %%mm0) //222 11/8
262 // mm1=2 mm2=3 mm3=6(11) mm4=1 mm5=4(211) mm6=0(11) mm7=9
265 PAVGB(%%mm0, %%mm6) //11 11 /4
268 PAVGB(%%mm1, %%mm6) //1122 11 /8
269 PAVGB(%%mm5, %%mm6) //112242211 /16
271 "movq %%mm6, (%%"REG_a") \n\t" // X
273 "movq (%%"REG_a", %1, 4), %%mm6 \n\t" // 1
274 PAVGB(%%mm7, %%mm6) // 11 /2
275 PAVGB(%%mm4, %%mm6) // 11 11 /4
276 PAVGB(%%mm3, %%mm6) // 11 2211 /8
280 PAVGB(%%mm2, %%mm6) // 112242211 /16
281 "movq %%mm6, (%0, %1, 4) \n\t" // X
286 "movq (%%"REG_a", %1, 2), %%mm6 \n\t" // 1
287 PAVGB(%%mm6, %%mm1) // 11 4 2 /8
290 // mm2=3(112) mm3=6(11) mm4=5 mm5=4(11) mm6=6 mm7=9
293 PAVGB(%%mm0, %%mm6) // 1 1 /2
294 PAVGB(%%mm7, %%mm6) // 1 12 /4
295 PAVGB(%%mm2, %%mm6) // 1122424 /4
296 "movq %%mm6, (%%"REG_c") \n\t" // X
547 "movq %%mm0, %%mm6 \n\t" // ~(5l4 + 2l2)/8
549 "psubusb %%mm6, %%mm3 \n\t"
554 "movq (%%"REG_c", %1), %%mm6 \n\t" // l6
555 "movq %%mm6, %%mm5 \n\t" // l6
556 PAVGB(%%mm7, %%mm6) // ~l6/2
557 PAVGB(%%mm4, %%mm6) // ~(l6 + 2l4)/4
558 PAVGB(%%mm5, %%mm6) // ~(5l6 + 2l4)/8
566 "movq %%mm6, %%mm4 \n\t" // ~(5l6 + 2l4)/8
567 "psubusb %%mm2, %%mm6 \n\t"
569 "por %%mm6, %%mm2 \n\t" // ~|2l4 - 5l5 + 5l6 - 2l7|/8
587 "movq (%%"REG_a", %1, 2), %%mm6 \n\t" //l3
590 "psubusb %%mm6, %%mm5 \n\t"
591 "psubusb %%mm4, %%mm6 \n\t"
592 "por %%mm6, %%mm5 \n\t" // |l3-l4|
593 "pcmpeqb %%mm7, %%mm6 \n\t" // SIGN(l3-l4)
594 "pxor %%mm6, %%mm0 \n\t"
603 "pxor %%mm6, %%mm0 \n\t"
604 "pxor %%mm6, %%mm2 \n\t"
607 "pxor %%mm6, %%mm0 \n\t"
608 "pxor %%mm6, %%mm2 \n\t"
614 "pcmpeqb %%mm6, %%mm6 \n\t" // -1
622 "pxor %%mm6, %%mm1 \n\t" // -l3-1
628 "pxor %%mm6, %%mm2 \n\t" // -l5-1
639 "pxor %%mm6, %%mm2 \n\t" // -l1-1
650 "pxor %%mm6, %%mm1 \n\t" // -l7-1
670 PAVGB(%%mm6, %%mm2) // 128 + QP/2
671 "psubb %%mm6, %%mm2 \n\t"
690 "paddsb %%mm6, %%mm5 \n\t" // fix bad rounding
848 "movq (%%"REG_a", %1, 4), %%mm6 \n\t"
849 "punpcklbw %%mm7, %%mm6 \n\t" // L6
850 "psubw %%mm6, %%mm2 \n\t" // L5 - L6
851 "movq (%%"REG_a", %1, 4), %%mm6 \n\t"
852 "punpckhbw %%mm7, %%mm6 \n\t" // H6
853 "psubw %%mm6, %%mm3 \n\t" // H5 - H6
879 "movq %%mm7, %%mm6 \n\t" // 0
880 "psubw %%mm0, %%mm6 \n\t"
881 "pmaxsw %%mm6, %%mm0 \n\t" // |2L4 - 5L5 + 5L6 - 2L7|
882 "movq %%mm7, %%mm6 \n\t" // 0
883 "psubw %%mm1, %%mm6 \n\t"
884 "pmaxsw %%mm6, %%mm1 \n\t" // |2H4 - 5H5 + 5H6 - 2H7|
885 "movq %%mm7, %%mm6 \n\t" // 0
886 "psubw %%mm2, %%mm6 \n\t"
887 "pmaxsw %%mm6, %%mm2 \n\t" // |2L0 - 5L1 + 5L2 - 2L3|
888 "movq %%mm7, %%mm6 \n\t" // 0
889 "psubw %%mm3, %%mm6 \n\t"
890 "pmaxsw %%mm6, %%mm3 \n\t" // |2H0 - 5H1 + 5H2 - 2H3|
892 "movq %%mm7, %%mm6 \n\t" // 0
893 "pcmpgtw %%mm0, %%mm6 \n\t"
894 "pxor %%mm6, %%mm0 \n\t"
895 "psubw %%mm6, %%mm0 \n\t" // |2L4 - 5L5 + 5L6 - 2L7|
896 "movq %%mm7, %%mm6 \n\t" // 0
897 "pcmpgtw %%mm1, %%mm6 \n\t"
898 "pxor %%mm6, %%mm1 \n\t"
899 "psubw %%mm6, %%mm1 \n\t" // |2H4 - 5H5 + 5H6 - 2H7|
900 "movq %%mm7, %%mm6 \n\t" // 0
901 "pcmpgtw %%mm2, %%mm6 \n\t"
902 "pxor %%mm6, %%mm2 \n\t"
903 "psubw %%mm6, %%mm2 \n\t" // |2L0 - 5L1 + 5L2 - 2L3|
904 "movq %%mm7, %%mm6 \n\t" // 0
905 "pcmpgtw %%mm3, %%mm6 \n\t"
906 "pxor %%mm6, %%mm3 \n\t"
907 "psubw %%mm6, %%mm3 \n\t" // |2H0 - 5H1 + 5H2 - 2H3|
914 "movq %%mm0, %%mm6 \n\t"
915 "psubusw %%mm2, %%mm6 \n\t"
916 "psubw %%mm6, %%mm0 \n\t"
917 "movq %%mm1, %%mm6 \n\t"
918 "psubusw %%mm3, %%mm6 \n\t"
919 "psubw %%mm6, %%mm1 \n\t"
925 "movq %%mm7, %%mm6 \n\t" // 0
926 "pcmpgtw %%mm4, %%mm6 \n\t" // sign(2L2 - 5L3 + 5L4 - 2L5)
927 "pxor %%mm6, %%mm4 \n\t"
928 "psubw %%mm6, %%mm4 \n\t" // |2L2 - 5L3 + 5L4 - 2L5|
969 "pxor %%mm6, %%mm2 \n\t"
985 "pxor %%mm6, %%mm4 \n\t"
987 "psubw %%mm6, %%mm4 \n\t"
1048 "pxor %%mm6, %%mm6 \n\t"
1051 "punpcklbw %%mm6, %%mm0 \n\t"
1069 "pmaxub %%mm0, %%mm6 \n\t"
1074 "psubusb %%mm0, %%mm6 \n\t"\
1075 "paddb %%mm0, %%mm6 \n\t"\
1115 "movq %%mm6, %%mm4 \n\t"
1116 "psrlq $8, %%mm6 \n\t"
1118 "pmaxub %%mm4, %%mm6 \n\t" // max of pixels
1119 "pshufw $0xF9, %%mm6, %%mm4 \n\t"
1120 "pmaxub %%mm4, %%mm6 \n\t"
1121 "pshufw $0xFE, %%mm6, %%mm4 \n\t"
1122 "pmaxub %%mm4, %%mm6 \n\t"
1124 "psubusb %%mm4, %%mm6 \n\t"
1125 "paddb %%mm4, %%mm6 \n\t"
1126 "movq %%mm6, %%mm4 \n\t"
1127 "psrlq $16, %%mm6 \n\t"
1128 "psubusb %%mm4, %%mm6 \n\t"
1129 "paddb %%mm4, %%mm6 \n\t"
1130 "movq %%mm6, %%mm4 \n\t"
1131 "psrlq $32, %%mm6 \n\t"
1132 "psubusb %%mm4, %%mm6 \n\t"
1133 "paddb %%mm4, %%mm6 \n\t"
1135 "movq %%mm6, %%mm0 \n\t" // max
1136 "psubb %%mm7, %%mm6 \n\t" // max - min
1137 "movd %%mm6, %%ecx \n\t"
1177 "movd 8(%%"REG_a"), %%mm6 \n\t"
1179 "psllq $56, %%mm6 \n\t"
1181 "por %%mm6, %%mm4 \n\t" // L21
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)
1617 "movq %%mm2, %%mm6 \n\t"\
1619 "paddw %%mm6, %%mm2 \n\t"\
1620 "movq %%mm5, %%mm6 \n\t"\
1622 "paddw %%mm6, %%mm5 \n\t"\
1623 "movq %%mm3, %%mm6 \n\t"\
1625 "punpckhbw %%mm7, %%mm6 \n\t"\
1627 "paddw %%mm6, %%mm6 \n\t"\
1629 "paddw %%mm6, %%mm5 \n\t"\
1630 "movq %%mm4, %%mm6 \n\t"\
1632 "punpckhbw %%mm7, %%mm6 \n\t"\
1634 "psubw %%mm6, %%mm5 \n\t"\
1870 "movq %%mm3, %%mm6 \n\t"\
1873 "pxor %%mm6, %%mm5 \n\t"\
2116 "movq (%0, %%"REG_a", 2), %%mm6 \n\t" // L6
2118 "psadbw (%1, %%"REG_a", 2), %%mm6 \n\t" // |L6-R6|
2122 "paddw %%mm5, %%mm6 \n\t"
2123 "paddw %%mm7, %%mm6 \n\t"
2124 "paddw %%mm6, %%mm0 \n\t"
2128 "movq "MANGLE(b80)", %%mm6 \n\t"
2135 "paddb %%mm6, %%mm5 \n\t"\
2208 "movq (%0, %%"REG_a", 2), %%mm6 \n\t" // L6
2216 "movq %%mm6, (%1, %%"REG_a", 2) \n\t" // L6
2235 "movq (%0, %%"REG_a", 2), %%mm6 \n\t" // L6
2236 PAVGB((%1, %%REGa, 2), %%mm6) // L6
2245 "movq %%mm6, (%1, %%"REG_a", 2) \n\t" // R6
2253 "movq %%mm6, (%0, %%"REG_a", 2) \n\t" // L6
2269 "movq (%1, %2, 2), %%mm6 \n\t" // R2
2273 PAVGB(%%mm6, %%mm2)
2277 PAVGB(%%mm6, %%mm2)
2294 "movq (%1, %%"REG_a", 2), %%mm6 \n\t" // R6
2298 PAVGB(%%mm6, %%mm2)
2302 PAVGB(%%mm6, %%mm2)
2323 "movq (%1, %2, 2), %%mm6 \n\t" // R2
2327 PAVGB(%%mm6, %%mm2)
2331 PAVGB(%%mm6, %%mm2)
2335 PAVGB(%%mm6, %%mm2)
2352 "movq (%1, %%"REG_a", 2), %%mm6 \n\t" // R6
2356 PAVGB(%%mm6, %%mm2)
2360 PAVGB(%%mm6, %%mm2)
2364 PAVGB(%%mm6, %%mm2)
2478 "movq %1, %%mm6 \n\t"
2493 "pcmpgtb %%mm6, %%mm0 \n\t"
2500 "pcmpgtb %%mm6, %%mm1 \n\t"
2508 "pcmpgtb %%mm6, %%mm2 \n\t"
2518 "pcmpgtb %%mm6, %%mm1 \n\t"
2526 "pcmpgtb %%mm6, %%mm2 \n\t"
2534 "pcmpgtb %%mm6, %%mm1 \n\t"
2542 "pcmpgtb %%mm6, %%mm2 \n\t"
2550 "pcmpgtb %%mm6, %%mm1 \n\t"
2556 "pcmpgtb %%mm6, %%mm2 \n\t"
2560 "pxor %%mm6, %%mm6 \n\t"
2564 "pcmpeqb %%mm6, %%mm7 \n\t" // Diff < 2QP -> 0
2565 "pcmpeqb %%mm6, %%mm7 \n\t" // Diff < 2QP -> 0
2572 "psubb %%mm0, %%mm6 \n\t"
2573 "pcmpgtb %%mm7, %%mm6 \n\t"
2574 "movq %%mm6, %0 \n\t"
2591 "movq (%0), %%mm6 \n\t"
2594 "movq %%mm6, %%mm2 \n\t"
2595 "psubusb %%mm6, %%mm5 \n\t"
2601 "pxor %%mm6, %%mm1 \n\t"
2603 "pxor %%mm1, %%mm6 \n\t"
2622 "movq %%mm6, %%mm5 \n\t"
2623 "punpckhbw %%mm4, %%mm6 \n\t"
2628 "movq %%mm6, %%mm1 \n\t"
2661 "psubw %%mm6, %%mm1 \n\t"
2667 "psubw %%mm6, %%mm1 \n\t"
2673 "psubw %%mm6, %%mm1 \n\t"
2679 "psubw %%mm6, %%mm1 \n\t"
2683 "movq %%mm7, %%mm6 \n\t"
2685 "punpcklbw %%mm4, %%mm6 \n\t"
2695 "paddw %%mm6, %%mm0 \n\t"
2701 "paddw %%mm6, %%mm0 \n\t"
2707 "paddw %%mm6, %%mm0 \n\t"
2713 "paddw %%mm6, %%mm0 \n\t"
2727 "movq %4, %%mm6 \n\t"
2729 "pxor %%mm6, %%mm5 \n\t"
2749 "pand %%mm6, %%mm0 \n\t"
2841 "movq (%%"REG_a", %1, 4), %%mm6 \n\t"
2842 "punpcklbw %%mm7, %%mm6 \n\t" // L6
2843 "psubw %%mm6, %%mm2 \n\t" // L5 - L6
2844 "movq (%%"REG_a", %1, 4), %%mm6 \n\t"
2845 "punpckhbw %%mm7, %%mm6 \n\t" // H6
2846 "psubw %%mm6, %%mm3 \n\t" // H5 - H6
2872 "movq %%mm7, %%mm6 \n\t" // 0
2873 "psubw %%mm0, %%mm6 \n\t"
2874 "pmaxsw %%mm6, %%mm0 \n\t" // |2L4 - 5L5 + 5L6 - 2L7|
2875 "movq %%mm7, %%mm6 \n\t" // 0
2876 "psubw %%mm1, %%mm6 \n\t"
2877 "pmaxsw %%mm6, %%mm1 \n\t" // |2H4 - 5H5 + 5H6 - 2H7|
2878 "movq %%mm7, %%mm6 \n\t" // 0
2879 "psubw %%mm2, %%mm6 \n\t"
2880 "pmaxsw %%mm6, %%mm2 \n\t" // |2L0 - 5L1 + 5L2 - 2L3|
2881 "movq %%mm7, %%mm6 \n\t" // 0
2882 "psubw %%mm3, %%mm6 \n\t"
2883 "pmaxsw %%mm6, %%mm3 \n\t" // |2H0 - 5H1 + 5H2 - 2H3|
2885 "movq %%mm7, %%mm6 \n\t" // 0
2886 "pcmpgtw %%mm0, %%mm6 \n\t"
2887 "pxor %%mm6, %%mm0 \n\t"
2888 "psubw %%mm6, %%mm0 \n\t" // |2L4 - 5L5 + 5L6 - 2L7|
2889 "movq %%mm7, %%mm6 \n\t" // 0
2890 "pcmpgtw %%mm1, %%mm6 \n\t"
2891 "pxor %%mm6, %%mm1 \n\t"
2892 "psubw %%mm6, %%mm1 \n\t" // |2H4 - 5H5 + 5H6 - 2H7|
2893 "movq %%mm7, %%mm6 \n\t" // 0
2894 "pcmpgtw %%mm2, %%mm6 \n\t"
2895 "pxor %%mm6, %%mm2 \n\t"
2896 "psubw %%mm6, %%mm2 \n\t" // |2L0 - 5L1 + 5L2 - 2L3|
2897 "movq %%mm7, %%mm6 \n\t" // 0
2898 "pcmpgtw %%mm3, %%mm6 \n\t"
2899 "pxor %%mm6, %%mm3 \n\t"
2900 "psubw %%mm6, %%mm3 \n\t" // |2H0 - 5H1 + 5H2 - 2H3|
2907 "movq %%mm0, %%mm6 \n\t"
2908 "psubusw %%mm2, %%mm6 \n\t"
2909 "psubw %%mm6, %%mm0 \n\t"
2910 "movq %%mm1, %%mm6 \n\t"
2911 "psubusw %%mm3, %%mm6 \n\t"
2912 "psubw %%mm6, %%mm1 \n\t"
2918 "movq %%mm7, %%mm6 \n\t" // 0
2919 "pcmpgtw %%mm4, %%mm6 \n\t" // sign(2L2 - 5L3 + 5L4 - 2L5)
2920 "pxor %%mm6, %%mm4 \n\t"
2921 "psubw %%mm6, %%mm4 \n\t" // |2L2 - 5L3 + 5L4 - 2L5|
2962 "pxor %%mm6, %%mm2 \n\t"
2978 "pxor %%mm6, %%mm4 \n\t"
2980 "psubw %%mm6, %%mm4 \n\t"
3035 "movq " #src2 ", %%mm6 \n\t"\
3039 "punpckhbw %%mm6, %%mm6 \n\t"\
3043 "pmulhuw %%mm3, %%mm6 \n\t"\
3047 "psubw %%mm2, %%mm6 \n\t"\
3049 "packuswb %%mm6, %%mm1 \n\t"\
3065 "movq " #src2 ", %%mm6 \n\t"\
3068 "punpckhbw %%mm4, %%mm6 \n\t"\
3070 "psubw %%mm2, %%mm6 \n\t"\
3072 "psllw $6, %%mm6 \n\t"\
3074 "pmulhw %%mm3, %%mm6 \n\t"\
3076 "packuswb %%mm6, %%mm1 \n\t"\