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

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

Issue 232133009: libvpx: Pull from upstream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/libvpx/
Patch Set: Created 6 years, 8 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
« no previous file with comments | « source/libvpx/vp8/common/x86/postproc_mmx.asm ('k') | source/libvpx/vp8/encoder/onyx_if.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 418
419 packuswb xmm1, xmm0 419 packuswb xmm1, xmm0
420 pand xmm1, xmm3 420 pand xmm1, xmm3
421 421
422 pandn xmm3, xmm2 422 pandn xmm3, xmm2
423 por xmm1, xmm3 423 por xmm1, xmm3
424 424
425 and rcx, 15 425 and rcx, 15
426 movq QWORD PTR [rsp + rcx*8], xmm1 ;d[rcx*8] 426 movq QWORD PTR [rsp + rcx*8], xmm1 ;d[rcx*8]
427 427
428 cmp edx, 8
429 jl .skip_assignment
430
428 mov rcx, rdx 431 mov rcx, rdx
429 sub rcx, 8 432 sub rcx, 8
430
431 and rcx, 15 433 and rcx, 15
432 movq mm0, [rsp + rcx*8] ;d[rcx*8] 434 movq mm0, [rsp + rcx*8] ;d[rcx*8]
435 movq [rsi], mm0
433 436
434 movq [rsi], mm0 437 .skip_assignment
435 lea rsi, [rsi+rax] 438 lea rsi, [rsi+rax]
436 439
437 lea rdi, [rdi+rax] 440 lea rdi, [rdi+rax]
438 add rdx, 1 441 add rdx, 1
439 442
440 cmp edx, dword arg(2) ;rows 443 cmp edx, dword arg(2) ;rows
441 jl .loop_row 444 jl .loop_row
442 445
443 add dword arg(0), 8 ; s += 8 446 add dword arg(0), 8 ; s += 8
444 sub dword arg(3), 8 ; cols -= 8 447 sub dword arg(3), 8 ; cols -= 8
(...skipping 267 matching lines...) Expand 10 before | Expand all | Expand 10 after
712 RESTORE_GOT 715 RESTORE_GOT
713 UNSHADOW_ARGS 716 UNSHADOW_ARGS
714 pop rbp 717 pop rbp
715 ret 718 ret
716 719
717 720
718 SECTION_RODATA 721 SECTION_RODATA
719 align 16 722 align 16
720 four8s: 723 four8s:
721 times 4 dd 8 724 times 4 dd 8
OLDNEW
« no previous file with comments | « source/libvpx/vp8/common/x86/postproc_mmx.asm ('k') | source/libvpx/vp8/encoder/onyx_if.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698