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

Side by Side Diff: source/libvpx/vp9/encoder/x86/vp9_error_sse2.asm

Issue 1302353004: libvpx: Pull from upstream (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libvpx.git@master
Patch Set: Created 5 years, 3 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
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 %define private_prefix vp9
12
11 %include "third_party/x86inc/x86inc.asm" 13 %include "third_party/x86inc/x86inc.asm"
12 14
13 SECTION .text 15 SECTION .text
14 16
15 ; int64_t vp9_block_error(int16_t *coeff, int16_t *dqcoeff, intptr_t block_size, 17 ; int64_t vp9_block_error(int16_t *coeff, int16_t *dqcoeff, intptr_t block_size,
16 ; int64_t *ssz) 18 ; int64_t *ssz)
17 19
18 INIT_XMM sse2 20 INIT_XMM sse2
19 cglobal block_error, 3, 3, 8, uqc, dqc, size, ssz 21 cglobal block_error, 3, 3, 8, uqc, dqc, size, ssz
20 pxor m4, m4 ; sse accumulator 22 pxor m4, m4 ; sse accumulator
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 movhlps m5, m4 113 movhlps m5, m4
112 paddq m4, m5 114 paddq m4, m5
113 %if ARCH_X86_64 115 %if ARCH_X86_64
114 movq rax, m4 116 movq rax, m4
115 %else 117 %else
116 pshufd m5, m4, 0x1 118 pshufd m5, m4, 0x1
117 movd eax, m4 119 movd eax, m4
118 movd edx, m5 120 movd edx, m5
119 %endif 121 %endif
120 RET 122 RET
OLDNEW
« no previous file with comments | « source/libvpx/vp9/encoder/x86/vp9_dct_ssse3_x86_64.asm ('k') | source/libvpx/vp9/encoder/x86/vp9_quantize_ssse3_x86_64.asm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698