| 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 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 mov rsi, arg(0) | 26 mov rsi, arg(0) |
| 27 mov rdi, arg(1) | 27 mov rdi, arg(1) |
| 28 | 28 |
| 29 movsxd rax, dword ptr arg(2) | 29 movsxd rax, dword ptr arg(2) |
| 30 lea rcx, [rsi + rax*2] | 30 lea rcx, [rsi + rax*2] |
| 31 %else | 31 %else |
| 32 %ifidn __OUTPUT_FORMAT__,x64 | 32 %ifidn __OUTPUT_FORMAT__,x64 |
| 33 %define input rcx | 33 %define input rcx |
| 34 %define output rdx | 34 %define output rdx |
| 35 %define pitch r8 | 35 %define pitch r8 |
| 36 SAVE_XMM 7, u |
| 36 %else | 37 %else |
| 37 %define input rdi | 38 %define input rdi |
| 38 %define output rsi | 39 %define output rsi |
| 39 %define pitch rdx | 40 %define pitch rdx |
| 40 %endif | 41 %endif |
| 41 %endif | 42 %endif |
| 42 %endmacro | 43 %endmacro |
| 43 | 44 |
| 44 %macro STACK_FRAME_DESTROY 0 | 45 %macro STACK_FRAME_DESTROY 0 |
| 45 %define input | 46 %define input |
| 46 %define output | 47 %define output |
| 47 %define pitch | 48 %define pitch |
| 48 | 49 |
| 49 %if ABI_IS_32BIT | 50 %if ABI_IS_32BIT |
| 50 pop rdi | 51 pop rdi |
| 51 pop rsi | 52 pop rsi |
| 52 RESTORE_GOT | 53 RESTORE_GOT |
| 53 pop rbp | 54 pop rbp |
| 54 %else | 55 %else |
| 55 %ifidn __OUTPUT_FORMAT__,x64 | 56 %ifidn __OUTPUT_FORMAT__,x64 |
| 57 RESTORE_XMM |
| 56 %endif | 58 %endif |
| 57 %endif | 59 %endif |
| 58 ret | 60 ret |
| 59 %endmacro | 61 %endmacro |
| 60 | 62 |
| 61 ;void vp8_short_fdct4x4_sse2(short *input, short *output, int pitch) | 63 ;void vp8_short_fdct4x4_sse2(short *input, short *output, int pitch) |
| 62 global sym(vp8_short_fdct4x4_sse2) | 64 global sym(vp8_short_fdct4x4_sse2) |
| 63 sym(vp8_short_fdct4x4_sse2): | 65 sym(vp8_short_fdct4x4_sse2): |
| 64 | 66 |
| 65 STACK_FRAME_CREATE | 67 STACK_FRAME_CREATE |
| (...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 times 4 dd 14500 | 423 times 4 dd 14500 |
| 422 align 16 | 424 align 16 |
| 423 _7500: | 425 _7500: |
| 424 times 4 dd 7500 | 426 times 4 dd 7500 |
| 425 align 16 | 427 align 16 |
| 426 _12000: | 428 _12000: |
| 427 times 4 dd 12000 | 429 times 4 dd 12000 |
| 428 align 16 | 430 align 16 |
| 429 _51000: | 431 _51000: |
| 430 times 4 dd 51000 | 432 times 4 dd 51000 |
| OLD | NEW |