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 872 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
883 ; unsigned char *above, | 883 ; unsigned char *above, |
884 ; unsigned char *left, | 884 ; unsigned char *left, |
885 ; int left_stride | 885 ; int left_stride |
886 ; ) | 886 ; ) |
887 %macro vp8_intra_pred_y_tm 1 | 887 %macro vp8_intra_pred_y_tm 1 |
888 global sym(vp8_intra_pred_y_tm_%1) PRIVATE | 888 global sym(vp8_intra_pred_y_tm_%1) PRIVATE |
889 sym(vp8_intra_pred_y_tm_%1): | 889 sym(vp8_intra_pred_y_tm_%1): |
890 push rbp | 890 push rbp |
891 mov rbp, rsp | 891 mov rbp, rsp |
892 SHADOW_ARGS_TO_STACK 5 | 892 SHADOW_ARGS_TO_STACK 5 |
| 893 SAVE_XMM 7 |
893 push rsi | 894 push rsi |
894 push rdi | 895 push rdi |
895 GET_GOT rbx | 896 GET_GOT rbx |
896 ; end prolog | 897 ; end prolog |
897 | 898 |
898 ; read top row | 899 ; read top row |
899 mov edx, 8 | 900 mov edx, 8 |
900 mov rsi, arg(2) ;above | 901 mov rsi, arg(2) ;above |
901 movsxd rax, dword ptr arg(4) ;left_stride; | 902 movsxd rax, dword ptr arg(4) ;left_stride; |
902 pxor xmm0, xmm0 | 903 pxor xmm0, xmm0 |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
950 movdqa [rdi+rcx], xmm5 | 951 movdqa [rdi+rcx], xmm5 |
951 lea rsi, [rsi+rax*2] | 952 lea rsi, [rsi+rax*2] |
952 lea rdi, [rdi+rcx*2] | 953 lea rdi, [rdi+rcx*2] |
953 dec edx | 954 dec edx |
954 jnz vp8_intra_pred_y_tm_%1_loop | 955 jnz vp8_intra_pred_y_tm_%1_loop |
955 | 956 |
956 ; begin epilog | 957 ; begin epilog |
957 RESTORE_GOT | 958 RESTORE_GOT |
958 pop rdi | 959 pop rdi |
959 pop rsi | 960 pop rsi |
| 961 RESTORE_XMM |
960 UNSHADOW_ARGS | 962 UNSHADOW_ARGS |
961 pop rbp | 963 pop rbp |
962 ret | 964 ret |
963 %endmacro | 965 %endmacro |
964 | 966 |
965 vp8_intra_pred_y_tm sse2 | 967 vp8_intra_pred_y_tm sse2 |
966 vp8_intra_pred_y_tm ssse3 | 968 vp8_intra_pred_y_tm ssse3 |
967 | 969 |
968 ;void vp8_intra_pred_y_ve_sse2( | 970 ;void vp8_intra_pred_y_ve_sse2( |
969 ; unsigned char *dst, | 971 ; unsigned char *dst, |
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1071 align 16 | 1073 align 16 |
1072 dc_8: | 1074 dc_8: |
1073 times 8 dw 8 | 1075 times 8 dw 8 |
1074 align 16 | 1076 align 16 |
1075 dc_1024: | 1077 dc_1024: |
1076 times 8 dw 0x400 | 1078 times 8 dw 0x400 |
1077 align 16 | 1079 align 16 |
1078 dc_00001111: | 1080 dc_00001111: |
1079 times 8 db 0 | 1081 times 8 db 0 |
1080 times 8 db 1 | 1082 times 8 db 1 |
OLD | NEW |