Home
last modified time | relevance | path

Searched refs:mm2 (Results 1 – 25 of 30) sorted by relevance

12

/external/libvpx/vpx_scale/win32/
Dscaleopt.c225 movq mm2, mm0 // mm2 = 00 01 02 03 04 05 06 07 in horizontal_line_4_5_scale_mmx()
235 punpckhbw mm2, mm7 // mm2 = 04 xx 05 xx 06 xx 07 xx in horizontal_line_4_5_scale_mmx()
237 movd DWORD PTR [edi+5], mm2 // write ouput 05 xx xx xx in horizontal_line_4_5_scale_mmx()
238 pmullw mm2, mm5 // 04* 51 05*102 06*154 07*205 in horizontal_line_4_5_scale_mmx()
253 paddw mm2, mm3 // in horizontal_line_4_5_scale_mmx()
255 paddw mm2, mm4 // added round values in horizontal_line_4_5_scale_mmx()
258 psrlw mm2, 8 in horizontal_line_4_5_scale_mmx()
259 packuswb mm2, mm7 in horizontal_line_4_5_scale_mmx()
261 movd DWORD PTR [edi-4], mm2 // writeoutput 06 07 08 09 in horizontal_line_4_5_scale_mmx()
268 movq mm2, mm0 // mm2 = 00 01 02 03 04 05 06 07 in horizontal_line_4_5_scale_mmx()
[all …]
/external/libvpx/vpx_scale/x86_64/
Dscaleopt.c225 movq mm2, mm0 // mm2 = 00 01 02 03 04 05 06 07 in horizontal_line_4_5_scale_mmx()
235 punpckhbw mm2, mm7 // mm2 = 04 xx 05 xx 06 xx 07 xx in horizontal_line_4_5_scale_mmx()
237 movd DWORD PTR [rdi+5], mm2 // write ouput 05 xx xx xx in horizontal_line_4_5_scale_mmx()
238 pmullw mm2, mm5 // 04* 51 05*102 06*154 07*205 in horizontal_line_4_5_scale_mmx()
253 paddw mm2, mm3 // in horizontal_line_4_5_scale_mmx()
255 paddw mm2, mm4 // added round values in horizontal_line_4_5_scale_mmx()
258 psrlw mm2, 8 in horizontal_line_4_5_scale_mmx()
259 packuswb mm2, mm7 in horizontal_line_4_5_scale_mmx()
261 movd DWORD PTR [rdi-4], mm2 // writeoutput 06 07 08 09 in horizontal_line_4_5_scale_mmx()
268 movq mm2, mm0 // mm2 = 00 01 02 03 04 05 06 07 in horizontal_line_4_5_scale_mmx()
[all …]
/external/libvpx/vp8/common/x86/
Dloopfilter_mmx.asm50 movq mm2, [rdi+2*rax] ; q3
53 psubusb mm1, mm2 ; q2-=q3
54 psubusb mm2, mm6 ; q3-=q2
55 por mm1, mm2 ; abs(q3-q2)
80 movq mm2, [rsi+4*rax] ; p3
83 psubusb mm4, mm2 ; p2-=p3
84 psubusb mm2, mm5 ; p3-=p2
85 por mm4, mm2 ; abs(p3 - p2)
98 movq mm2, mm3 ; p1
111 psubusb mm3, mm2 ; q1-=p1
[all …]
Didctllm_mmx.asm50 movq mm2, [rax+16]
55 psubw mm0, mm2 ; b1= 0-2
56 paddw mm2, mm2 ;
59 paddw mm2, mm0 ; a1 =0+2
80 movq mm6, mm2 ; a1
83 paddw mm2, mm3 ;0
90 movq mm1, mm2 ; 03 02 01 00
94 punpckhwd mm2, mm0 ; 13 03 12 02
100 movq mm5, mm2 ; 13 03 12 02
105 punpckldq mm2, mm4 ; 32 22 12 02
[all …]
Drecon_mmx.asm35 movd mm2, [rsi+16]
36 punpcklbw mm2, mm0
37 paddsw mm2, [rdx+32]
38 packuswb mm2, mm0 ; pack and unpack to saturate
39 movd [rdi+rax], mm2
84 movq mm2, [rsi+rax*2]
93 movq [rdi+rcx*2], mm2
147 movq mm2, [rsi+rax*2]
155 movq [rdi+rcx*2], mm2
196 movq mm2, [rsi+rax*2]
[all …]
Diwalsh_mmx.asm69 movq mm2, [rsi + 16] ;ip[8]
79 paddw mm5, mm2 ;ip[4] + ip[8] aka bl
87 psubw mm1, mm2 ;ip[4] - ip[8] aka c1
108 movq mm2, mm3 ; 13 03 12 02
113 punpckldq mm2, mm1 ; 32 22 12 02 aka ip[8]
120 paddw mm5, mm2 ;ip[4] + ip[8] aka bl
128 psubw mm4, mm2 ;ip[4] - ip[8] aka c1
144 movq mm2, mm3 ; 13 03 12 02
149 punpckldq mm2, mm4 ; 32 22 12 02 aka ip[8]
154 paddw mm2, mm7
[all …]
Dpostproc_mmx.c71 movd mm2, flimit in vp8_post_proc_down_and_across_mmx() local
72 punpcklwd mm2, mm2 in vp8_post_proc_down_and_across_mmx() local
73 punpckldq mm2, mm2 in vp8_post_proc_down_and_across_mmx() local
126 pcmpgtw mm7, mm2 in vp8_post_proc_down_and_across_mmx()
149 pcmpgtw mm6, mm2 in vp8_post_proc_down_and_across_mmx()
176 pcmpgtw mm6, mm2 in vp8_post_proc_down_and_across_mmx()
201 pcmpgtw mm6, mm2 in vp8_post_proc_down_and_across_mmx()
278 pcmpgtw mm7, mm2 in vp8_post_proc_down_and_across_mmx()
302 pcmpgtw mm6, mm2 in vp8_post_proc_down_and_across_mmx()
329 pcmpgtw mm6, mm2 in vp8_post_proc_down_and_across_mmx()
[all …]
Dsubpixel_mmx.asm43 movq mm2, [rdx + 32] ;
68 pmullw mm5, mm2 ; mm5 *= kernel 2 modifiers
143 movq mm2, [rbx + 32] ;
167 pmullw mm4, mm2 ; mm4 *= kernel 2 modifiers.
232 movq mm2, [rbx + 32] ;
256 pmullw mm4, mm2 ; mm4 *= kernel 2 modifiers.
/external/libvpx/vpx_scale/intel_linux/
Dscaleopt.c273 movq mm2, mm0 // mm2 = 00 01 02 03 04 05 06 07 in horizontal_line_4_5_scale_mmx()
283 punpckhbw mm2, mm7 // mm2 = 04 xx 05 xx 06 xx 07 xx in horizontal_line_4_5_scale_mmx()
285 movd DWORD PTR [edi+5], mm2 // write ouput 05 xx xx xx in horizontal_line_4_5_scale_mmx()
286 pmullw mm2, mm5 // 04* 51 05*102 06*154 07*205 in horizontal_line_4_5_scale_mmx()
301 paddw mm2, mm3 // in horizontal_line_4_5_scale_mmx()
303 paddw mm2, mm4 // added round values in horizontal_line_4_5_scale_mmx()
306 psrlw mm2, 8 in horizontal_line_4_5_scale_mmx()
307 packuswb mm2, mm7 in horizontal_line_4_5_scale_mmx()
309 movd DWORD PTR [edi-4], mm2 // writeoutput 06 07 08 09 in horizontal_line_4_5_scale_mmx()
316 movq mm2, mm0 // mm2 = 00 01 02 03 04 05 06 07 in horizontal_line_4_5_scale_mmx()
[all …]
/external/libvpx/vp8/decoder/x86/
Ddequantize_mmx.asm74 movq mm2, [rax+16]
75 pmullw mm2, [rdx+16]
95 psubw mm0, mm2 ; b1= 0-2
96 paddw mm2, mm2 ;
99 paddw mm2, mm0 ; a1 =0+2
120 movq mm6, mm2 ; a1
123 paddw mm2, mm3 ;0
130 movq mm1, mm2 ; 03 02 01 00
134 punpckhwd mm2, mm0 ; 13 03 12 02
140 movq mm5, mm2 ; 13 03 12 02
[all …]
/external/libvpx/vp8/encoder/x86/
Dvariance_impl_mmx.asm33 movq mm2, [rax+16]
37 pmaddwd mm2, mm2
42 paddd mm4, mm2
99 movq mm2, mm0 ; Take copies
104 punpckhbw mm2, mm6 ; unpack to higher prrcision
107 psubsw mm2, mm3 ; A-B (high order) to MM2
110 paddw mm5, mm2 ; accumulate differences in mm5
113 pmaddwd mm2, mm2 ; square and accumulate
118 paddd mm7, mm2 ; accumulate in mm7
123 movq mm2, mm0 ; Take copies
[all …]
Dsad_mmx.asm49 movq mm2, QWORD PTR [rsi+8]
55 movq mm5, mm2
60 psubusb mm2, mm3
64 por mm2, mm3
67 movq mm3, mm2
70 punpcklbw mm2, mm6
75 paddw mm0, mm2
143 movq mm2, mm0
146 psubusb mm1, mm2
149 movq mm2, mm0
[all …]
Ddct_mmx.asm46 movq mm2, [rcx]
53 psllw mm2, 3
58 movq mm5, mm2 ; 10 11 12 03
63 punpcklwd mm2, mm3 ; 20 30 21 31
68 punpckldq mm0, mm2 ; 00 10 20 30
70 punpckhdq mm1, mm2 ; 01 11 21 31
72 movq mm2, mm4 ; 02 12 03 13
73 punpckldq mm2, mm5 ; 02 12 22 32
84 paddw mm1, mm2 ; b = 1 + 2
86 psubw mm4, mm2 ; c = 1 - 2
[all …]
Dvariance_impl_sse2.asm600 movdq2q mm2, xmm6
603 paddw mm6, mm2
607 pxor mm2, mm2 ;
609 punpcklwd mm2, mm6 ;
612 paddd mm2, mm3 ;
613 movq mm6, mm2 ;
616 paddd mm2, mm6 ;
618 psrad mm2, 16 ;
627 movd [rsi], mm2 ; xsum
722 movdq2q mm2, xmm6
[all …]
Dsad_sse3.asm68 movq mm2, QWORD PTR [rdi+1]
72 psadbw mm2, mm0
76 paddw mm6, mm2
81 movq mm2, QWORD PTR [rdi+rdx+1]
88 psadbw mm2, mm0
92 paddw mm6, mm2
176 movq mm2, QWORD PTR [rdx]
180 psadbw mm2, mm0
185 paddw mm5, mm2
193 movq mm2, QWORD PTR [rdx+rbp]
[all …]
Dencodeopt.asm85 movq mm2, mm7
88 por mm1, mm2
143 pxor mm2, mm2
146 por mm1, mm2
166 paddd mm2, mm5
168 paddd mm2, mm3
181 paddd mm2, mm5
183 paddd mm2, mm3
191 movq mm0, mm2
192 psrlq mm2, 32
[all …]
Dquantize_mmx.asm40 movq mm2, mm3
41 pcmpgtw mm1, mm2
43 pandn mm1, mm2
50 movq mm2, [rcx]
52 paddw mm3, mm2
64 movq mm2, [rax]
66 pmullw mm3, mm2
204 movq mm2, [rdi]
217 pmaddwd mm0, mm2
227 movq mm2, [rdi+16]
[all …]
Dpreproc_mmx.c245 pxor mm2, mm2 // count in temp_filter_mmx()
250 punpcklbw mm3, mm2 // mm3 source pixels in temp_filter_mmx()
267 paddusw mm2, mm5 // count in temp_filter_mmx()
272 movq counts, mm2 in temp_filter_mmx()
273 psrlw mm2, 1 // divide count by 2 for rounding in temp_filter_mmx()
274 paddusw mm1, mm2 // rounding added in in temp_filter_mmx()
Dsad_sse2.asm121 movq mm2, QWORD PTR [rsi+rbx]
125 psadbw mm2, mm3
131 paddw mm7, mm2
225 movd mm2, DWORD PTR [rsi+rax]
228 punpcklbw mm0, mm2
289 movq mm2, QWORD PTR [rsi+8]
298 psadbw mm2, mm3
309 paddw mm0, mm2
Dsubtract_mmx.asm101 movq mm2, mm1
107 punpckhbw mm2, mm0
111 psubw mm2, mm4
114 movq [rdi+8], mm2
120 movq mm2, mm1
126 punpckhbw mm2, mm0
130 psubw mm2, mm4
133 movq [rdi+24], mm2
/external/qemu/distrib/libpng-1.2.19/
Dpngvcrd.c178 movq mm2,mask2 in png_combine_row()
182 pand mm2,mm7 in png_combine_row()
186 pcmpeqb mm2,mm6 in png_combine_row()
213 pand mm6,mm2 in png_combine_row()
214 movq mm4,mm2 in png_combine_row()
314 movq mm2,mask2 in png_combine_row()
319 pand mm2,mm7 in png_combine_row()
324 pcmpeqb mm2,mm6 in png_combine_row()
352 pand mm6,mm2 in png_combine_row()
353 movq mm4,mm2 in png_combine_row()
[all …]
/external/qemu/distrib/sdl-1.2.12/src/audio/
DSDL_mixer_MMX_VC.c71 movq mm2, mm1 //%%mm1,%%mm2\n" // mm2 = a|b|c|d in SDL_MixAudio_MMX_S16_VC()
77 pmulhw mm2, mm0 //%%mm0,%%mm2\n" // mm2 = h(a*v)|h(b*v)|h(c*v)|h(d*v) in SDL_MixAudio_MMX_S16_VC()
82 punpckhwd mm1, mm2 //%%mm2,%%mm1\n" // mm1 = a*v|b*v in SDL_MixAudio_MMX_S16_VC()
84 punpcklwd mm3, mm2 //%%mm2,%%mm3\n" // mm3 = c*v|d*v in SDL_MixAudio_MMX_S16_VC()
152 pxor mm2, mm2 //%%mm2,%%mm2 // mm2 = 0 in SDL_MixAudio_MMX_S8_VC()
156 pcmpgtb mm2, mm1 //%%mm1,%%mm2 // mm2 = 11111111|00000000|00000000.... in SDL_MixAudio_MMX_S8_VC()
157 punpckhbw mm1, mm2 //%%mm2,%%mm1 // mm1 = 0|a|0|b|0|c|0|d in SDL_MixAudio_MMX_S8_VC()
158 punpcklbw mm3, mm2 //%%mm2,%%mm3 // mm3 = 0|e|0|f|0|g|0|h in SDL_MixAudio_MMX_S8_VC()
159 movq mm2, [edi] //(%%edi),%%mm2 // mm2 = destination in SDL_MixAudio_MMX_S8_VC()
166 paddsb mm3, mm2 //%%mm2,%%mm3 // add to destination buffer in SDL_MixAudio_MMX_S8_VC()
/external/qemu/distrib/sdl-1.2.12/src/hermes/
Dmmxp2_32.asm151 movq mm2, mm4 ; argb
153 movq mm1, mm2 ; argb
154 pand mm2, mm5 ; 000b
156 pslld mm2, 2 ; 0 0 000000bb bbb00000
157 por mm4, mm2 ; 0 0 ggggggbb bbb00000
220 movq mm2, mm4 ; a r g b
222 movq mm1, mm2 ; a r g b
223 pand mm2, mm5 ; 0 r 0 0
227 psrld mm2, 14 ; 0 0 000000rr rrr00000
228 por mm4, mm2 ; 0 0 ggggggrr rrr00000
[all …]
/external/qemu/distrib/sdl-1.2.12/src/video/
DSDL_RLEaccel.c148 movd_m2r((*dstp), mm2); /* dst -> mm2 */ \
149 punpcklbw_r2r(mm2, mm2); \
150 pand_r2r(mm3, mm2); \
151 psubw_r2r(mm2, mm1); \
154 paddw_r2r(mm1, mm2); \
155 pand_r2r(mm3, mm2); \
156 packuswb_r2r(mm2, mm2); \
157 pand_r2r(mm5, mm2); /* 00000RGB -> mm2 */ \
158 movd_r2m(mm2, *dstp); \
167 movq_m2r((*dstp), mm2); \
[all …]
DSDL_blit_A.c253 movq_m2r((*dstp), mm2);/* 2 x dst -> mm2(ARGBARGB) */ in BlitRGBtoRGBSurfaceAlpha128MMX()
254 movq_r2r(mm2, mm6); /* 2 x dst -> mm6(ARGBARGB) */ in BlitRGBtoRGBSurfaceAlpha128MMX()
262 pand_r2r(mm1, mm2); /* src & dst -> mm2 */ in BlitRGBtoRGBSurfaceAlpha128MMX()
264 pand_r2r(mm3, mm2); /* mm2 & !mask -> mm2 */ in BlitRGBtoRGBSurfaceAlpha128MMX()
265 paddd_r2r(mm5, mm2); /* mm5 + mm2 -> mm2 */ in BlitRGBtoRGBSurfaceAlpha128MMX()
267 por_r2r(mm7, mm2); /* mm7(full alpha) | mm2 -> mm2 */ in BlitRGBtoRGBSurfaceAlpha128MMX()
268 movq_r2m(mm2, (*dstp));/* mm2 -> 2 x dst pixels */ in BlitRGBtoRGBSurfaceAlpha128MMX()
312 movd_m2r((*dstp), mm2);/* dst(ARGB) -> mm2 (0000ARGB)*/ in BlitRGBtoRGBSurfaceAlphaMMX()
314 punpcklbw_r2r(mm5, mm2); /* 0A0R0G0B -> mm2(dst) */ in BlitRGBtoRGBSurfaceAlphaMMX()
316 psubw_r2r(mm2, mm1);/* src - dst -> mm1 */ in BlitRGBtoRGBSurfaceAlphaMMX()
[all …]

12