| 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_recon_b_mmx(unsigned char *s, short *q, unsigned char *d, int stride) | 13 ;void vp8_recon_b_mmx(unsigned char *s, short *q, unsigned char *d, int stride) |
| 14 global sym(vp8_recon_b_mmx) | 14 global sym(vp8_recon_b_mmx) PRIVATE |
| 15 sym(vp8_recon_b_mmx): | 15 sym(vp8_recon_b_mmx): |
| 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 pop rbp | 58 pop rbp |
| 59 ret | 59 ret |
| 60 | 60 |
| 61 | 61 |
| 62 ;void copy_mem8x8_mmx( | 62 ;void copy_mem8x8_mmx( |
| 63 ; unsigned char *src, | 63 ; unsigned char *src, |
| 64 ; int src_stride, | 64 ; int src_stride, |
| 65 ; unsigned char *dst, | 65 ; unsigned char *dst, |
| 66 ; int dst_stride | 66 ; int dst_stride |
| 67 ; ) | 67 ; ) |
| 68 global sym(vp8_copy_mem8x8_mmx) | 68 global sym(vp8_copy_mem8x8_mmx) PRIVATE |
| 69 sym(vp8_copy_mem8x8_mmx): | 69 sym(vp8_copy_mem8x8_mmx): |
| 70 push rbp | 70 push rbp |
| 71 mov rbp, rsp | 71 mov rbp, rsp |
| 72 SHADOW_ARGS_TO_STACK 4 | 72 SHADOW_ARGS_TO_STACK 4 |
| 73 push rsi | 73 push rsi |
| 74 push rdi | 74 push rdi |
| 75 ; end prolog | 75 ; end prolog |
| 76 | 76 |
| 77 mov rsi, arg(0) ;src; | 77 mov rsi, arg(0) ;src; |
| 78 movq mm0, [rsi] | 78 movq mm0, [rsi] |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 pop rbp | 121 pop rbp |
| 122 ret | 122 ret |
| 123 | 123 |
| 124 | 124 |
| 125 ;void copy_mem8x4_mmx( | 125 ;void copy_mem8x4_mmx( |
| 126 ; unsigned char *src, | 126 ; unsigned char *src, |
| 127 ; int src_stride, | 127 ; int src_stride, |
| 128 ; unsigned char *dst, | 128 ; unsigned char *dst, |
| 129 ; int dst_stride | 129 ; int dst_stride |
| 130 ; ) | 130 ; ) |
| 131 global sym(vp8_copy_mem8x4_mmx) | 131 global sym(vp8_copy_mem8x4_mmx) PRIVATE |
| 132 sym(vp8_copy_mem8x4_mmx): | 132 sym(vp8_copy_mem8x4_mmx): |
| 133 push rbp | 133 push rbp |
| 134 mov rbp, rsp | 134 mov rbp, rsp |
| 135 SHADOW_ARGS_TO_STACK 4 | 135 SHADOW_ARGS_TO_STACK 4 |
| 136 push rsi | 136 push rsi |
| 137 push rdi | 137 push rdi |
| 138 ; end prolog | 138 ; end prolog |
| 139 | 139 |
| 140 mov rsi, arg(0) ;src; | 140 mov rsi, arg(0) ;src; |
| 141 movq mm0, [rsi] | 141 movq mm0, [rsi] |
| (...skipping 23 matching lines...) Expand all Loading... |
| 165 pop rbp | 165 pop rbp |
| 166 ret | 166 ret |
| 167 | 167 |
| 168 | 168 |
| 169 ;void copy_mem16x16_mmx( | 169 ;void copy_mem16x16_mmx( |
| 170 ; unsigned char *src, | 170 ; unsigned char *src, |
| 171 ; int src_stride, | 171 ; int src_stride, |
| 172 ; unsigned char *dst, | 172 ; unsigned char *dst, |
| 173 ; int dst_stride | 173 ; int dst_stride |
| 174 ; ) | 174 ; ) |
| 175 global sym(vp8_copy_mem16x16_mmx) | 175 global sym(vp8_copy_mem16x16_mmx) PRIVATE |
| 176 sym(vp8_copy_mem16x16_mmx): | 176 sym(vp8_copy_mem16x16_mmx): |
| 177 push rbp | 177 push rbp |
| 178 mov rbp, rsp | 178 mov rbp, rsp |
| 179 SHADOW_ARGS_TO_STACK 4 | 179 SHADOW_ARGS_TO_STACK 4 |
| 180 push rsi | 180 push rsi |
| 181 push rdi | 181 push rdi |
| 182 ; end prolog | 182 ; end prolog |
| 183 | 183 |
| 184 mov rsi, arg(0) ;src; | 184 mov rsi, arg(0) ;src; |
| 185 movsxd rax, dword ptr arg(1) ;src_stride; | 185 movsxd rax, dword ptr arg(1) ;src_stride; |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 | 312 |
| 313 movq [rdi], mm0 | 313 movq [rdi], mm0 |
| 314 movq [rdi+8], mm3 | 314 movq [rdi+8], mm3 |
| 315 | 315 |
| 316 ; begin epilog | 316 ; begin epilog |
| 317 pop rdi | 317 pop rdi |
| 318 pop rsi | 318 pop rsi |
| 319 UNSHADOW_ARGS | 319 UNSHADOW_ARGS |
| 320 pop rbp | 320 pop rbp |
| 321 ret | 321 ret |
| OLD | NEW |