• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/x86/

Lines Matching refs:MM

24 #undef MM
34 #define MM "%%xmm"
49 #define MM "%%mm"
142 "movd %%"REG_a", "MM"3 \n\t" // last_non_zero_p1
143 SPREADW(MM"3")
144 "pxor "MM"7, "MM"7 \n\t" // 0
145 "pxor "MM"4, "MM"4 \n\t" // 0
146 MOVQ" (%2), "MM"5 \n\t" // qmat[0]
147 "pxor "MM"6, "MM"6 \n\t"
148 "psubw (%3), "MM"6 \n\t" // -bias[0]
152 MOVQ" (%1, %%"REG_a"), "MM"0 \n\t" // block[i]
153 SAVE_SIGN(MM"1", MM"0") // ABS(block[i])
154 "psubusw "MM"6, "MM"0 \n\t" // ABS(block[i]) + bias[0]
155 "pmulhw "MM"5, "MM"0 \n\t" // (ABS(block[i])*qmat[0] - bias[0]*qmat[0])>>16
156 "por "MM"0, "MM"4 \n\t"
157 RESTORE_SIGN(MM"1", MM"0") // out=((ABS(block[i])*qmat[0] - bias[0]*qmat[0])>>16)*sign(block[i])
158 MOVQ" "MM"0, (%5, %%"REG_a") \n\t"
159 "pcmpeqw "MM"7, "MM"0 \n\t" // out==0 ? 0xFF : 0x00
160 MOVQ" (%4, %%"REG_a"), "MM"1 \n\t"
161 MOVQ" "MM"7, (%1, %%"REG_a") \n\t" // 0
162 "pandn "MM"1, "MM"0 \n\t"
163 PMAXW(MM"0", MM"3")
166 PMAX(MM"3", MM"0")
167 "movd "MM"3, %%"REG_a" \n\t"
177 "movd %%"REG_a", "MM"3 \n\t" // last_non_zero_p1
178 SPREADW(MM"3")
179 "pxor "MM"7, "MM"7 \n\t" // 0
180 "pxor "MM"4, "MM"4 \n\t" // 0
184 MOVQ" (%1, %%"REG_a"), "MM"0 \n\t" // block[i]
185 SAVE_SIGN(MM"1", MM"0") // ABS(block[i])
186 MOVQ" (%3, %%"REG_a"), "MM"6 \n\t" // bias[0]
187 "paddusw "MM"6, "MM"0 \n\t" // ABS(block[i]) + bias[0]
188 MOVQ" (%2, %%"REG_a"), "MM"5 \n\t" // qmat[i]
189 "pmulhw "MM"5, "MM"0 \n\t" // (ABS(block[i])*qmat[0] + bias[0]*qmat[0])>>16
190 "por "MM"0, "MM"4 \n\t"
191 RESTORE_SIGN(MM"1", MM"0") // out=((ABS(block[i])*qmat[0] - bias[0]*qmat[0])>>16)*sign(block[i])
192 MOVQ" "MM"0, (%5, %%"REG_a") \n\t"
193 "pcmpeqw "MM"7, "MM"0 \n\t" // out==0 ? 0xFF : 0x00
194 MOVQ" (%4, %%"REG_a"), "MM"1 \n\t"
195 MOVQ" "MM"7, (%1, %%"REG_a") \n\t" // 0
196 "pandn "MM"1, "MM"0 \n\t"
197 PMAXW(MM"0", MM"3")
200 PMAX(MM"3", MM"0")
201 "movd "MM"3, %%"REG_a" \n\t"
211 "movd %1, "MM"1 \n\t" // max_qcoeff
212 SPREADW(MM"1")
213 "psubusw "MM"1, "MM"4 \n\t"
214 "packuswb "MM"4, "MM"4 \n\t"
216 "packuswb "MM"4, "MM"4 \n\t"
218 "movd "MM"4, %0 \n\t" // *overflow