Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(301)

Side by Side Diff: source/libvpx/vp8/encoder/x86/sad_ssse3.asm

Issue 7671004: Update libvpx snapshot to v0.9.7-p1 (Cayuga). (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/libvpx/
Patch Set: '' Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « source/libvpx/vp8/encoder/x86/sad_sse3.asm ('k') | source/libvpx/vp8/encoder/x86/ssim_opt.asm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; 1 ;
2 ; Copyright (c) 2010 The WebM project authors. All Rights Reserved. 2 ; Copyright (c) 2010 The WebM project authors. All Rights Reserved.
3 ; 3 ;
4 ; Use of this source code is governed by a BSD-style license 4 ; Use of this source code is governed by a BSD-style license
5 ; that can be found in the LICENSE file in the root of the source 5 ; that can be found in the LICENSE file in the root of the source
6 ; tree. An additional intellectual property rights grant can be found 6 ; tree. An additional intellectual property rights grant can be found
7 ; in the file PATENTS. All contributing project authors may 7 ; in the file PATENTS. All contributing project authors may
8 ; be found in the AUTHORS file in the root of the source tree. 8 ; be found in the AUTHORS file in the root of the source tree.
9 ; 9 ;
10 10
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 ; unsigned char *src_ptr, 150 ; unsigned char *src_ptr,
151 ; int src_stride, 151 ; int src_stride,
152 ; unsigned char *ref_ptr, 152 ; unsigned char *ref_ptr,
153 ; int ref_stride, 153 ; int ref_stride,
154 ; int *results) 154 ; int *results)
155 global sym(vp8_sad16x16x3_ssse3) 155 global sym(vp8_sad16x16x3_ssse3)
156 sym(vp8_sad16x16x3_ssse3): 156 sym(vp8_sad16x16x3_ssse3):
157 push rbp 157 push rbp
158 mov rbp, rsp 158 mov rbp, rsp
159 SHADOW_ARGS_TO_STACK 5 159 SHADOW_ARGS_TO_STACK 5
160 SAVE_XMM 7
160 push rsi 161 push rsi
161 push rdi 162 push rdi
162 push rcx 163 push rcx
163 ; end prolog 164 ; end prolog
164 165
165 mov rsi, arg(0) ;src_ptr 166 mov rsi, arg(0) ;src_ptr
166 mov rdi, arg(2) ;ref_ptr 167 mov rdi, arg(2) ;ref_ptr
167 168
168 mov rdx, 0xf 169 mov rdx, 0xf
169 and rdx, rdi 170 and rdx, rdi
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 movq xmm0, xmm7 247 movq xmm0, xmm7
247 psrldq xmm7, 8 248 psrldq xmm7, 8
248 249
249 paddw xmm0, xmm7 250 paddw xmm0, xmm7
250 movd [rdi+8], xmm0 251 movd [rdi+8], xmm0
251 252
252 ; begin epilog 253 ; begin epilog
253 pop rcx 254 pop rcx
254 pop rdi 255 pop rdi
255 pop rsi 256 pop rsi
257 RESTORE_XMM
256 UNSHADOW_ARGS 258 UNSHADOW_ARGS
257 pop rbp 259 pop rbp
258 ret 260 ret
259 261
260 ;void int vp8_sad16x8x3_ssse3( 262 ;void int vp8_sad16x8x3_ssse3(
261 ; unsigned char *src_ptr, 263 ; unsigned char *src_ptr,
262 ; int src_stride, 264 ; int src_stride,
263 ; unsigned char *ref_ptr, 265 ; unsigned char *ref_ptr,
264 ; int ref_stride, 266 ; int ref_stride,
265 ; int *results) 267 ; int *results)
266 global sym(vp8_sad16x8x3_ssse3) 268 global sym(vp8_sad16x8x3_ssse3)
267 sym(vp8_sad16x8x3_ssse3): 269 sym(vp8_sad16x8x3_ssse3):
268 push rbp 270 push rbp
269 mov rbp, rsp 271 mov rbp, rsp
270 SHADOW_ARGS_TO_STACK 5 272 SHADOW_ARGS_TO_STACK 5
273 SAVE_XMM 7
271 push rsi 274 push rsi
272 push rdi 275 push rdi
273 push rcx 276 push rcx
274 ; end prolog 277 ; end prolog
275 278
276 mov rsi, arg(0) ;src_ptr 279 mov rsi, arg(0) ;src_ptr
277 mov rdi, arg(2) ;ref_ptr 280 mov rdi, arg(2) ;ref_ptr
278 281
279 mov rdx, 0xf 282 mov rdx, 0xf
280 and rdx, rdi 283 and rdx, rdi
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 movq xmm0, xmm7 357 movq xmm0, xmm7
355 psrldq xmm7, 8 358 psrldq xmm7, 8
356 359
357 paddw xmm0, xmm7 360 paddw xmm0, xmm7
358 movd [rdi+8], xmm0 361 movd [rdi+8], xmm0
359 362
360 ; begin epilog 363 ; begin epilog
361 pop rcx 364 pop rcx
362 pop rdi 365 pop rdi
363 pop rsi 366 pop rsi
367 RESTORE_XMM
364 UNSHADOW_ARGS 368 UNSHADOW_ARGS
365 pop rbp 369 pop rbp
366 ret 370 ret
OLDNEW
« no previous file with comments | « source/libvpx/vp8/encoder/x86/sad_sse3.asm ('k') | source/libvpx/vp8/encoder/x86/ssim_opt.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698