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 and patent | 4 ; Use of this source code is governed by a BSD-style license and patent |
5 ; grant that can be found in the LICENSE file in the root of the source | 5 ; grant that can be found in the LICENSE file in the root of the source |
6 ; tree. All contributing project authors may be found in the AUTHORS | 6 ; tree. All contributing project authors may be found in the AUTHORS |
7 ; file in the root of the source tree. | 7 ; file in the root of the source tree. |
8 ; | 8 ; |
9 | 9 |
10 | 10 |
11 %include "vpx_ports/x86_abi_support.asm" | 11 %include "vpx_ports/x86_abi_support.asm" |
12 | 12 |
13 | 13 |
14 ;int vp8_fast_quantize_b_impl_ssse3(short *coeff_ptr | 14 ;int vp8_fast_quantize_b_impl_ssse3(short *coeff_ptr |
15 ; short *qcoeff_ptr,short *dequant_ptr, | 15 ; short *qcoeff_ptr,short *dequant_ptr, |
16 ; short *round_ptr, | 16 ; short *round_ptr, |
17 ; short *quant_ptr, short *dqcoeff_ptr); | 17 ; short *quant_ptr, short *dqcoeff_ptr); |
18 ; | 18 ; |
19 global sym(vp8_fast_quantize_b_impl_ssse3) | 19 global sym(vp8_fast_quantize_b_impl_ssse3) PRIVATE |
20 sym(vp8_fast_quantize_b_impl_ssse3): | 20 sym(vp8_fast_quantize_b_impl_ssse3): |
21 push rbp | 21 push rbp |
22 mov rbp, rsp | 22 mov rbp, rsp |
23 SHADOW_ARGS_TO_STACK 6 | 23 SHADOW_ARGS_TO_STACK 6 |
24 GET_GOT rbx | 24 GET_GOT rbx |
25 push rsi | 25 push rsi |
26 push rdi | 26 push rdi |
27 ; end prolog | 27 ; end prolog |
28 | 28 |
29 mov rdx, arg(0) ;coeff_ptr | 29 mov rdx, arg(0) ;coeff_ptr |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 pop rsi | 105 pop rsi |
106 RESTORE_GOT | 106 RESTORE_GOT |
107 UNSHADOW_ARGS | 107 UNSHADOW_ARGS |
108 pop rbp | 108 pop rbp |
109 ret | 109 ret |
110 | 110 |
111 SECTION_RODATA | 111 SECTION_RODATA |
112 align 16 | 112 align 16 |
113 zz_shuf: | 113 zz_shuf: |
114 db 0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15 | 114 db 0, 1, 4, 8, 5, 2, 3, 6, 9, 12, 13, 10, 7, 11, 14, 15 |
OLD | NEW |