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 ;int vp8_fast_quantize_b_impl_mmx(short *coeff_ptr, short *zbin_ptr, | 14 ;int vp8_fast_quantize_b_impl_mmx(short *coeff_ptr, short *zbin_ptr, |
15 ; short *qcoeff_ptr,short *dequant_ptr, | 15 ; short *qcoeff_ptr,short *dequant_ptr, |
16 ; short *scan_mask, short *round_ptr, | 16 ; short *scan_mask, short *round_ptr, |
17 ; short *quant_ptr, short *dqcoeff_ptr); | 17 ; short *quant_ptr, short *dqcoeff_ptr); |
18 global sym(vp8_fast_quantize_b_impl_mmx) | 18 global sym(vp8_fast_quantize_b_impl_mmx) PRIVATE |
19 sym(vp8_fast_quantize_b_impl_mmx): | 19 sym(vp8_fast_quantize_b_impl_mmx): |
20 push rbp | 20 push rbp |
21 mov rbp, rsp | 21 mov rbp, rsp |
22 SHADOW_ARGS_TO_STACK 8 | 22 SHADOW_ARGS_TO_STACK 8 |
23 push rsi | 23 push rsi |
24 push rdi | 24 push rdi |
25 ; end prolog | 25 ; end prolog |
26 | 26 |
27 | 27 |
28 mov rsi, arg(0) ;coeff_ptr | 28 mov rsi, arg(0) ;coeff_ptr |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 ; eob=15; | 277 ; eob=15; |
278 ;} | 278 ;} |
279 ;d->eob = eob+1; | 279 ;d->eob = eob+1; |
280 | 280 |
281 ; begin epilog | 281 ; begin epilog |
282 pop rdi | 282 pop rdi |
283 pop rsi | 283 pop rsi |
284 UNSHADOW_ARGS | 284 UNSHADOW_ARGS |
285 pop rbp | 285 pop rbp |
286 ret | 286 ret |
OLD | NEW |