| 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 |
| 11 | 11 |
| 12 %include "vpx_ports/x86_abi_support.asm" | 12 %include "vpx_ports/x86_abi_support.asm" |
| 13 | 13 |
| 14 ;void vp8_subtract_b_sse2_impl(unsigned char *z, int src_stride, | 14 ;void vp8_subtract_b_sse2_impl(unsigned char *z, int src_stride, |
| 15 ; short *diff, unsigned char *Predictor, | 15 ; short *diff, unsigned char *Predictor, |
| 16 ; int pitch); | 16 ; int pitch); |
| 17 global sym(vp8_subtract_b_sse2_impl) | 17 global sym(vp8_subtract_b_sse2_impl) PRIVATE |
| 18 sym(vp8_subtract_b_sse2_impl): | 18 sym(vp8_subtract_b_sse2_impl): |
| 19 push rbp | 19 push rbp |
| 20 mov rbp, rsp | 20 mov rbp, rsp |
| 21 SHADOW_ARGS_TO_STACK 5 | 21 SHADOW_ARGS_TO_STACK 5 |
| 22 GET_GOT rbx | 22 GET_GOT rbx |
| 23 push rsi | 23 push rsi |
| 24 push rdi | 24 push rdi |
| 25 ; end prolog | 25 ; end prolog |
| 26 | 26 |
| 27 mov rdi, arg(2) ;diff | 27 mov rdi, arg(2) ;diff |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 65 ; begin epilog | 65 ; begin epilog |
| 66 pop rdi | 66 pop rdi |
| 67 pop rsi | 67 pop rsi |
| 68 RESTORE_GOT | 68 RESTORE_GOT |
| 69 UNSHADOW_ARGS | 69 UNSHADOW_ARGS |
| 70 pop rbp | 70 pop rbp |
| 71 ret | 71 ret |
| 72 | 72 |
| 73 | 73 |
| 74 ;void vp8_subtract_mby_sse2(short *diff, unsigned char *src, unsigned char *pred
, int stride) | 74 ;void vp8_subtract_mby_sse2(short *diff, unsigned char *src, unsigned char *pred
, int stride) |
| 75 global sym(vp8_subtract_mby_sse2) | 75 global sym(vp8_subtract_mby_sse2) PRIVATE |
| 76 sym(vp8_subtract_mby_sse2): | 76 sym(vp8_subtract_mby_sse2): |
| 77 push rbp | 77 push rbp |
| 78 mov rbp, rsp | 78 mov rbp, rsp |
| 79 SHADOW_ARGS_TO_STACK 4 | 79 SHADOW_ARGS_TO_STACK 4 |
| 80 SAVE_XMM | 80 SAVE_XMM |
| 81 GET_GOT rbx | 81 GET_GOT rbx |
| 82 push rsi | 82 push rsi |
| 83 push rdi | 83 push rdi |
| 84 ; end prolog | 84 ; end prolog |
| 85 | 85 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 139 pop rsi | 139 pop rsi |
| 140 ; begin epilog | 140 ; begin epilog |
| 141 RESTORE_GOT | 141 RESTORE_GOT |
| 142 RESTORE_XMM | 142 RESTORE_XMM |
| 143 UNSHADOW_ARGS | 143 UNSHADOW_ARGS |
| 144 pop rbp | 144 pop rbp |
| 145 ret | 145 ret |
| 146 | 146 |
| 147 | 147 |
| 148 ;void vp8_subtract_mbuv_sse2(short *diff, unsigned char *usrc, unsigned char *vs
rc, unsigned char *pred, int stride) | 148 ;void vp8_subtract_mbuv_sse2(short *diff, unsigned char *usrc, unsigned char *vs
rc, unsigned char *pred, int stride) |
| 149 global sym(vp8_subtract_mbuv_sse2) | 149 global sym(vp8_subtract_mbuv_sse2) PRIVATE |
| 150 sym(vp8_subtract_mbuv_sse2): | 150 sym(vp8_subtract_mbuv_sse2): |
| 151 push rbp | 151 push rbp |
| 152 mov rbp, rsp | 152 mov rbp, rsp |
| 153 SHADOW_ARGS_TO_STACK 5 | 153 SHADOW_ARGS_TO_STACK 5 |
| 154 GET_GOT rbx | 154 GET_GOT rbx |
| 155 push rsi | 155 push rsi |
| 156 push rdi | 156 push rdi |
| 157 ; end prolog | 157 ; end prolog |
| 158 | 158 |
| 159 mov rdi, arg(0) ;diff | 159 mov rdi, arg(0) ;diff |
| (...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 pop rsi | 347 pop rsi |
| 348 RESTORE_GOT | 348 RESTORE_GOT |
| 349 UNSHADOW_ARGS | 349 UNSHADOW_ARGS |
| 350 pop rbp | 350 pop rbp |
| 351 ret | 351 ret |
| 352 | 352 |
| 353 SECTION_RODATA | 353 SECTION_RODATA |
| 354 align 16 | 354 align 16 |
| 355 t80: | 355 t80: |
| 356 times 16 db 0x80 | 356 times 16 db 0x80 |
| OLD | NEW |