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 global sym(vp8_sad16x16_mmx) | 14 global sym(vp8_sad16x16_mmx) PRIVATE |
15 global sym(vp8_sad8x16_mmx) | 15 global sym(vp8_sad8x16_mmx) PRIVATE |
16 global sym(vp8_sad8x8_mmx) | 16 global sym(vp8_sad8x8_mmx) PRIVATE |
17 global sym(vp8_sad4x4_mmx) | 17 global sym(vp8_sad4x4_mmx) PRIVATE |
18 global sym(vp8_sad16x8_mmx) | 18 global sym(vp8_sad16x8_mmx) PRIVATE |
19 | 19 |
20 ;unsigned int vp8_sad16x16_mmx( | 20 ;unsigned int vp8_sad16x16_mmx( |
21 ; unsigned char *src_ptr, | 21 ; unsigned char *src_ptr, |
22 ; int src_stride, | 22 ; int src_stride, |
23 ; unsigned char *ref_ptr, | 23 ; unsigned char *ref_ptr, |
24 ; int ref_stride) | 24 ; int ref_stride) |
25 sym(vp8_sad16x16_mmx): | 25 sym(vp8_sad16x16_mmx): |
26 push rbp | 26 push rbp |
27 mov rbp, rsp | 27 mov rbp, rsp |
28 SHADOW_ARGS_TO_STACK 4 | 28 SHADOW_ARGS_TO_STACK 4 |
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 paddw mm7, mm0 | 418 paddw mm7, mm0 |
419 movq rax, mm7 | 419 movq rax, mm7 |
420 | 420 |
421 pop rdi | 421 pop rdi |
422 pop rsi | 422 pop rsi |
423 mov rsp, rbp | 423 mov rsp, rbp |
424 ; begin epilog | 424 ; begin epilog |
425 UNSHADOW_ARGS | 425 UNSHADOW_ARGS |
426 pop rbp | 426 pop rbp |
427 ret | 427 ret |
OLD | NEW |