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 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
154 paddw xmm1, xmm5 | 154 paddw xmm1, xmm5 |
155 %endmacro | 155 %endmacro |
156 | 156 |
157 | 157 |
158 ;void vp8_sad16x16x8_sse4( | 158 ;void vp8_sad16x16x8_sse4( |
159 ; const unsigned char *src_ptr, | 159 ; const unsigned char *src_ptr, |
160 ; int src_stride, | 160 ; int src_stride, |
161 ; const unsigned char *ref_ptr, | 161 ; const unsigned char *ref_ptr, |
162 ; int ref_stride, | 162 ; int ref_stride, |
163 ; unsigned short *sad_array); | 163 ; unsigned short *sad_array); |
164 global sym(vp8_sad16x16x8_sse4) | 164 global sym(vp8_sad16x16x8_sse4) PRIVATE |
165 sym(vp8_sad16x16x8_sse4): | 165 sym(vp8_sad16x16x8_sse4): |
166 push rbp | 166 push rbp |
167 mov rbp, rsp | 167 mov rbp, rsp |
168 SHADOW_ARGS_TO_STACK 5 | 168 SHADOW_ARGS_TO_STACK 5 |
169 push rsi | 169 push rsi |
170 push rdi | 170 push rdi |
171 ; end prolog | 171 ; end prolog |
172 | 172 |
173 mov rsi, arg(0) ;src_ptr | 173 mov rsi, arg(0) ;src_ptr |
174 mov rdi, arg(2) ;ref_ptr | 174 mov rdi, arg(2) ;ref_ptr |
(...skipping 21 matching lines...) Expand all Loading... |
196 ret | 196 ret |
197 | 197 |
198 | 198 |
199 ;void vp8_sad16x8x8_sse4( | 199 ;void vp8_sad16x8x8_sse4( |
200 ; const unsigned char *src_ptr, | 200 ; const unsigned char *src_ptr, |
201 ; int src_stride, | 201 ; int src_stride, |
202 ; const unsigned char *ref_ptr, | 202 ; const unsigned char *ref_ptr, |
203 ; int ref_stride, | 203 ; int ref_stride, |
204 ; unsigned short *sad_array | 204 ; unsigned short *sad_array |
205 ;); | 205 ;); |
206 global sym(vp8_sad16x8x8_sse4) | 206 global sym(vp8_sad16x8x8_sse4) PRIVATE |
207 sym(vp8_sad16x8x8_sse4): | 207 sym(vp8_sad16x8x8_sse4): |
208 push rbp | 208 push rbp |
209 mov rbp, rsp | 209 mov rbp, rsp |
210 SHADOW_ARGS_TO_STACK 5 | 210 SHADOW_ARGS_TO_STACK 5 |
211 push rsi | 211 push rsi |
212 push rdi | 212 push rdi |
213 ; end prolog | 213 ; end prolog |
214 | 214 |
215 mov rsi, arg(0) ;src_ptr | 215 mov rsi, arg(0) ;src_ptr |
216 mov rdi, arg(2) ;ref_ptr | 216 mov rdi, arg(2) ;ref_ptr |
(...skipping 17 matching lines...) Expand all Loading... |
234 ret | 234 ret |
235 | 235 |
236 | 236 |
237 ;void vp8_sad8x8x8_sse4( | 237 ;void vp8_sad8x8x8_sse4( |
238 ; const unsigned char *src_ptr, | 238 ; const unsigned char *src_ptr, |
239 ; int src_stride, | 239 ; int src_stride, |
240 ; const unsigned char *ref_ptr, | 240 ; const unsigned char *ref_ptr, |
241 ; int ref_stride, | 241 ; int ref_stride, |
242 ; unsigned short *sad_array | 242 ; unsigned short *sad_array |
243 ;); | 243 ;); |
244 global sym(vp8_sad8x8x8_sse4) | 244 global sym(vp8_sad8x8x8_sse4) PRIVATE |
245 sym(vp8_sad8x8x8_sse4): | 245 sym(vp8_sad8x8x8_sse4): |
246 push rbp | 246 push rbp |
247 mov rbp, rsp | 247 mov rbp, rsp |
248 SHADOW_ARGS_TO_STACK 5 | 248 SHADOW_ARGS_TO_STACK 5 |
249 push rsi | 249 push rsi |
250 push rdi | 250 push rdi |
251 ; end prolog | 251 ; end prolog |
252 | 252 |
253 mov rsi, arg(0) ;src_ptr | 253 mov rsi, arg(0) ;src_ptr |
254 mov rdi, arg(2) ;ref_ptr | 254 mov rdi, arg(2) ;ref_ptr |
(...skipping 17 matching lines...) Expand all Loading... |
272 ret | 272 ret |
273 | 273 |
274 | 274 |
275 ;void vp8_sad8x16x8_sse4( | 275 ;void vp8_sad8x16x8_sse4( |
276 ; const unsigned char *src_ptr, | 276 ; const unsigned char *src_ptr, |
277 ; int src_stride, | 277 ; int src_stride, |
278 ; const unsigned char *ref_ptr, | 278 ; const unsigned char *ref_ptr, |
279 ; int ref_stride, | 279 ; int ref_stride, |
280 ; unsigned short *sad_array | 280 ; unsigned short *sad_array |
281 ;); | 281 ;); |
282 global sym(vp8_sad8x16x8_sse4) | 282 global sym(vp8_sad8x16x8_sse4) PRIVATE |
283 sym(vp8_sad8x16x8_sse4): | 283 sym(vp8_sad8x16x8_sse4): |
284 push rbp | 284 push rbp |
285 mov rbp, rsp | 285 mov rbp, rsp |
286 SHADOW_ARGS_TO_STACK 5 | 286 SHADOW_ARGS_TO_STACK 5 |
287 push rsi | 287 push rsi |
288 push rdi | 288 push rdi |
289 ; end prolog | 289 ; end prolog |
290 | 290 |
291 mov rsi, arg(0) ;src_ptr | 291 mov rsi, arg(0) ;src_ptr |
292 mov rdi, arg(2) ;ref_ptr | 292 mov rdi, arg(2) ;ref_ptr |
(...skipping 20 matching lines...) Expand all Loading... |
313 ret | 313 ret |
314 | 314 |
315 | 315 |
316 ;void vp8_sad4x4x8_c( | 316 ;void vp8_sad4x4x8_c( |
317 ; const unsigned char *src_ptr, | 317 ; const unsigned char *src_ptr, |
318 ; int src_stride, | 318 ; int src_stride, |
319 ; const unsigned char *ref_ptr, | 319 ; const unsigned char *ref_ptr, |
320 ; int ref_stride, | 320 ; int ref_stride, |
321 ; unsigned short *sad_array | 321 ; unsigned short *sad_array |
322 ;); | 322 ;); |
323 global sym(vp8_sad4x4x8_sse4) | 323 global sym(vp8_sad4x4x8_sse4) PRIVATE |
324 sym(vp8_sad4x4x8_sse4): | 324 sym(vp8_sad4x4x8_sse4): |
325 push rbp | 325 push rbp |
326 mov rbp, rsp | 326 mov rbp, rsp |
327 SHADOW_ARGS_TO_STACK 5 | 327 SHADOW_ARGS_TO_STACK 5 |
328 push rsi | 328 push rsi |
329 push rdi | 329 push rdi |
330 ; end prolog | 330 ; end prolog |
331 | 331 |
332 mov rsi, arg(0) ;src_ptr | 332 mov rsi, arg(0) ;src_ptr |
333 mov rdi, arg(2) ;ref_ptr | 333 mov rdi, arg(2) ;ref_ptr |
(...skipping 10 matching lines...) Expand all Loading... |
344 ; begin epilog | 344 ; begin epilog |
345 pop rdi | 345 pop rdi |
346 pop rsi | 346 pop rsi |
347 UNSHADOW_ARGS | 347 UNSHADOW_ARGS |
348 pop rbp | 348 pop rbp |
349 ret | 349 ret |
350 | 350 |
351 | 351 |
352 | 352 |
353 | 353 |
OLD | NEW |