Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: libvpx/source/libvpx/vp8/common/x86/recon_sse2.asm

Issue 7655050: Define PRIVATE and add it to all global symbols so we don't export assembly functions. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party
Patch Set: added patch Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 ;void vp8_recon2b_sse2(unsigned char *s, short *q, unsigned char *d, int stride) 13 ;void vp8_recon2b_sse2(unsigned char *s, short *q, unsigned char *d, int stride)
14 global sym(vp8_recon2b_sse2) 14 global sym(vp8_recon2b_sse2) PRIVATE
15 sym(vp8_recon2b_sse2): 15 sym(vp8_recon2b_sse2):
16 push rbp 16 push rbp
17 mov rbp, rsp 17 mov rbp, rsp
18 SHADOW_ARGS_TO_STACK 4 18 SHADOW_ARGS_TO_STACK 4
19 push rsi 19 push rsi
20 push rdi 20 push rdi
21 ; end prolog 21 ; end prolog
22 22
23 mov rsi, arg(0) ;s 23 mov rsi, arg(0) ;s
24 mov rdi, arg(2) ;d 24 mov rdi, arg(2) ;d
(...skipping 30 matching lines...) Expand all
55 55
56 ; begin epilog 56 ; begin epilog
57 pop rdi 57 pop rdi
58 pop rsi 58 pop rsi
59 UNSHADOW_ARGS 59 UNSHADOW_ARGS
60 pop rbp 60 pop rbp
61 ret 61 ret
62 62
63 63
64 ;void vp8_recon4b_sse2(unsigned char *s, short *q, unsigned char *d, int stride) 64 ;void vp8_recon4b_sse2(unsigned char *s, short *q, unsigned char *d, int stride)
65 global sym(vp8_recon4b_sse2) 65 global sym(vp8_recon4b_sse2) PRIVATE
66 sym(vp8_recon4b_sse2): 66 sym(vp8_recon4b_sse2):
67 push rbp 67 push rbp
68 mov rbp, rsp 68 mov rbp, rsp
69 SHADOW_ARGS_TO_STACK 4 69 SHADOW_ARGS_TO_STACK 4
70 SAVE_XMM 70 SAVE_XMM
71 push rsi 71 push rsi
72 push rdi 72 push rdi
73 ; end prolog 73 ; end prolog
74 74
75 mov rsi, arg(0) ;s 75 mov rsi, arg(0) ;s
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 pop rbp 125 pop rbp
126 ret 126 ret
127 127
128 128
129 ;void copy_mem16x16_sse2( 129 ;void copy_mem16x16_sse2(
130 ; unsigned char *src, 130 ; unsigned char *src,
131 ; int src_stride, 131 ; int src_stride,
132 ; unsigned char *dst, 132 ; unsigned char *dst,
133 ; int dst_stride 133 ; int dst_stride
134 ; ) 134 ; )
135 global sym(vp8_copy_mem16x16_sse2) 135 global sym(vp8_copy_mem16x16_sse2) PRIVATE
136 sym(vp8_copy_mem16x16_sse2): 136 sym(vp8_copy_mem16x16_sse2):
137 push rbp 137 push rbp
138 mov rbp, rsp 138 mov rbp, rsp
139 SHADOW_ARGS_TO_STACK 4 139 SHADOW_ARGS_TO_STACK 4
140 push rsi 140 push rsi
141 push rdi 141 push rdi
142 ; end prolog 142 ; end prolog
143 143
144 mov rsi, arg(0) ;src; 144 mov rsi, arg(0) ;src;
145 movdqu xmm0, [rsi] 145 movdqu xmm0, [rsi]
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 lea rdi, [rdi+rcx*2] 222 lea rdi, [rdi+rcx*2]
223 223
224 movdqa [rdi+rcx], xmm3 224 movdqa [rdi+rcx], xmm3
225 225
226 ; begin epilog 226 ; begin epilog
227 pop rdi 227 pop rdi
228 pop rsi 228 pop rsi
229 UNSHADOW_ARGS 229 UNSHADOW_ARGS
230 pop rbp 230 pop rbp
231 ret 231 ret
OLDNEW
« no previous file with comments | « libvpx/source/libvpx/vp8/common/x86/recon_mmx.asm ('k') | libvpx/source/libvpx/vp8/common/x86/subpixel_mmx.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698