| 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 ;void vp8_recon2b_sse2(unsigned char *s, short *q, unsigned char *d, int stride) | 13 ;void vp8_recon2b_sse2(unsigned char *s, short *q, unsigned char *d, int stride) |
| 14 global sym(vp8_recon2b_sse2) | 14 global sym(vp8_recon2b_sse2) PRIVATE |
| 15 sym(vp8_recon2b_sse2): | 15 sym(vp8_recon2b_sse2): |
| 16 push rbp | 16 push rbp |
| 17 mov rbp, rsp | 17 mov rbp, rsp |
| 18 SHADOW_ARGS_TO_STACK 4 | 18 SHADOW_ARGS_TO_STACK 4 |
| 19 push rsi | 19 push rsi |
| 20 push rdi | 20 push rdi |
| 21 ; end prolog | 21 ; end prolog |
| 22 | 22 |
| 23 mov rsi, arg(0) ;s | 23 mov rsi, arg(0) ;s |
| 24 mov rdi, arg(2) ;d | 24 mov rdi, arg(2) ;d |
| (...skipping 30 matching lines...) Expand all Loading... |
| 55 | 55 |
| 56 ; begin epilog | 56 ; begin epilog |
| 57 pop rdi | 57 pop rdi |
| 58 pop rsi | 58 pop rsi |
| 59 UNSHADOW_ARGS | 59 UNSHADOW_ARGS |
| 60 pop rbp | 60 pop rbp |
| 61 ret | 61 ret |
| 62 | 62 |
| 63 | 63 |
| 64 ;void vp8_recon4b_sse2(unsigned char *s, short *q, unsigned char *d, int stride) | 64 ;void vp8_recon4b_sse2(unsigned char *s, short *q, unsigned char *d, int stride) |
| 65 global sym(vp8_recon4b_sse2) | 65 global sym(vp8_recon4b_sse2) PRIVATE |
| 66 sym(vp8_recon4b_sse2): | 66 sym(vp8_recon4b_sse2): |
| 67 push rbp | 67 push rbp |
| 68 mov rbp, rsp | 68 mov rbp, rsp |
| 69 SHADOW_ARGS_TO_STACK 4 | 69 SHADOW_ARGS_TO_STACK 4 |
| 70 SAVE_XMM | 70 SAVE_XMM |
| 71 push rsi | 71 push rsi |
| 72 push rdi | 72 push rdi |
| 73 ; end prolog | 73 ; end prolog |
| 74 | 74 |
| 75 mov rsi, arg(0) ;s | 75 mov rsi, arg(0) ;s |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 pop rbp | 125 pop rbp |
| 126 ret | 126 ret |
| 127 | 127 |
| 128 | 128 |
| 129 ;void copy_mem16x16_sse2( | 129 ;void copy_mem16x16_sse2( |
| 130 ; unsigned char *src, | 130 ; unsigned char *src, |
| 131 ; int src_stride, | 131 ; int src_stride, |
| 132 ; unsigned char *dst, | 132 ; unsigned char *dst, |
| 133 ; int dst_stride | 133 ; int dst_stride |
| 134 ; ) | 134 ; ) |
| 135 global sym(vp8_copy_mem16x16_sse2) | 135 global sym(vp8_copy_mem16x16_sse2) PRIVATE |
| 136 sym(vp8_copy_mem16x16_sse2): | 136 sym(vp8_copy_mem16x16_sse2): |
| 137 push rbp | 137 push rbp |
| 138 mov rbp, rsp | 138 mov rbp, rsp |
| 139 SHADOW_ARGS_TO_STACK 4 | 139 SHADOW_ARGS_TO_STACK 4 |
| 140 push rsi | 140 push rsi |
| 141 push rdi | 141 push rdi |
| 142 ; end prolog | 142 ; end prolog |
| 143 | 143 |
| 144 mov rsi, arg(0) ;src; | 144 mov rsi, arg(0) ;src; |
| 145 movdqu xmm0, [rsi] | 145 movdqu xmm0, [rsi] |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 lea rdi, [rdi+rcx*2] | 222 lea rdi, [rdi+rcx*2] |
| 223 | 223 |
| 224 movdqa [rdi+rcx], xmm3 | 224 movdqa [rdi+rcx], xmm3 |
| 225 | 225 |
| 226 ; begin epilog | 226 ; begin epilog |
| 227 pop rdi | 227 pop rdi |
| 228 pop rsi | 228 pop rsi |
| 229 UNSHADOW_ARGS | 229 UNSHADOW_ARGS |
| 230 pop rbp | 230 pop rbp |
| 231 ret | 231 ret |
| OLD | NEW |