summaryrefslogtreecommitdiff
path: root/libavcodec/x86/vp8dsp.asm
diff options
context:
space:
mode:
authorJason Garrett-Glaser <darkshikari@gmail.com>2010-07-21 22:41:37 +0000
committerJason Garrett-Glaser <darkshikari@gmail.com>2010-07-21 22:41:37 +0000
commit8731dbd8904e1f5061ae4e2f4029e54516284249 (patch)
treec6d07b391bda4c191ed200044e75bd9ebcb15299 /libavcodec/x86/vp8dsp.asm
parent0662bf22ecaae761004a923a6c989f64ee51aed4 (diff)
Eliminate one instruction in VP8 dc_add_sse4
Originally committed as revision 24405 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/x86/vp8dsp.asm')
-rw-r--r--libavcodec/x86/vp8dsp.asm3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/x86/vp8dsp.asm b/libavcodec/x86/vp8dsp.asm
index 0358781438..c3b6109128 100644
--- a/libavcodec/x86/vp8dsp.asm
+++ b/libavcodec/x86/vp8dsp.asm
@@ -946,10 +946,9 @@ cglobal vp8_idct_dc_add_sse4, 3, 3, 6
movd xmm0, [r1]
lea r1, [r0+r2*2]
pxor xmm1, xmm1
- movq xmm2, [pw_4]
; calculate DC
- paddw xmm0, xmm2
+ paddw xmm0, [pw_4]
movd xmm2, [r0]
movd xmm3, [r0+r2]
movd xmm4, [r1]