| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |