| OLD | NEW |
| 1 ; | 1 ; |
| 2 ; Copyright (c) 2014 The WebM project authors. All Rights Reserved. | 2 ; Copyright (c) 2014 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 |
| 11 | 11 |
| 12 %include "vpx_ports/x86_abi_support.asm" | 12 %include "vpx_ports/x86_abi_support.asm" |
| 13 | 13 |
| 14 ;unsigned int vp9_highbd_calc16x16var_sse2 | 14 ;unsigned int vpx_highbd_calc16x16var_sse2 |
| 15 ;( | 15 ;( |
| 16 ; unsigned char * src_ptr, | 16 ; unsigned char * src_ptr, |
| 17 ; int source_stride, | 17 ; int source_stride, |
| 18 ; unsigned char * ref_ptr, | 18 ; unsigned char * ref_ptr, |
| 19 ; int recon_stride, | 19 ; int recon_stride, |
| 20 ; unsigned int * SSE, | 20 ; unsigned int * SSE, |
| 21 ; int * Sum | 21 ; int * Sum |
| 22 ;) | 22 ;) |
| 23 global sym(vp9_highbd_calc16x16var_sse2) PRIVATE | 23 global sym(vpx_highbd_calc16x16var_sse2) PRIVATE |
| 24 sym(vp9_highbd_calc16x16var_sse2): | 24 sym(vpx_highbd_calc16x16var_sse2): |
| 25 push rbp | 25 push rbp |
| 26 mov rbp, rsp | 26 mov rbp, rsp |
| 27 SHADOW_ARGS_TO_STACK 6 | 27 SHADOW_ARGS_TO_STACK 6 |
| 28 SAVE_XMM 7 | 28 SAVE_XMM 7 |
| 29 push rbx | 29 push rbx |
| 30 push rsi | 30 push rsi |
| 31 push rdi | 31 push rdi |
| 32 ; end prolog | 32 ; end prolog |
| 33 | 33 |
| 34 mov rsi, arg(0) ;[src_ptr] | 34 mov rsi, arg(0) ;[src_ptr] |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 157 ; begin epilog | 157 ; begin epilog |
| 158 pop rdi | 158 pop rdi |
| 159 pop rsi | 159 pop rsi |
| 160 pop rbx | 160 pop rbx |
| 161 RESTORE_XMM | 161 RESTORE_XMM |
| 162 UNSHADOW_ARGS | 162 UNSHADOW_ARGS |
| 163 pop rbp | 163 pop rbp |
| 164 ret | 164 ret |
| 165 | 165 |
| 166 | 166 |
| 167 ;unsigned int vp9_highbd_calc8x8var_sse2 | 167 ;unsigned int vpx_highbd_calc8x8var_sse2 |
| 168 ;( | 168 ;( |
| 169 ; unsigned char * src_ptr, | 169 ; unsigned char * src_ptr, |
| 170 ; int source_stride, | 170 ; int source_stride, |
| 171 ; unsigned char * ref_ptr, | 171 ; unsigned char * ref_ptr, |
| 172 ; int recon_stride, | 172 ; int recon_stride, |
| 173 ; unsigned int * SSE, | 173 ; unsigned int * SSE, |
| 174 ; int * Sum | 174 ; int * Sum |
| 175 ;) | 175 ;) |
| 176 global sym(vp9_highbd_calc8x8var_sse2) PRIVATE | 176 global sym(vpx_highbd_calc8x8var_sse2) PRIVATE |
| 177 sym(vp9_highbd_calc8x8var_sse2): | 177 sym(vpx_highbd_calc8x8var_sse2): |
| 178 push rbp | 178 push rbp |
| 179 mov rbp, rsp | 179 mov rbp, rsp |
| 180 SHADOW_ARGS_TO_STACK 6 | 180 SHADOW_ARGS_TO_STACK 6 |
| 181 SAVE_XMM 7 | 181 SAVE_XMM 7 |
| 182 push rbx | 182 push rbx |
| 183 push rsi | 183 push rsi |
| 184 push rdi | 184 push rdi |
| 185 ; end prolog | 185 ; end prolog |
| 186 | 186 |
| 187 mov rsi, arg(0) ;[src_ptr] | 187 mov rsi, arg(0) ;[src_ptr] |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 304 movd DWORD PTR [rax], xmm7 | 304 movd DWORD PTR [rax], xmm7 |
| 305 | 305 |
| 306 ; begin epilog | 306 ; begin epilog |
| 307 pop rdi | 307 pop rdi |
| 308 pop rsi | 308 pop rsi |
| 309 pop rbx | 309 pop rbx |
| 310 RESTORE_XMM | 310 RESTORE_XMM |
| 311 UNSHADOW_ARGS | 311 UNSHADOW_ARGS |
| 312 pop rbp | 312 pop rbp |
| 313 ret | 313 ret |
| OLD | NEW |