From 8731dbd8904e1f5061ae4e2f4029e54516284249 Mon Sep 17 00:00:00 2001 From: Jason Garrett-Glaser Date: Wed, 21 Jul 2010 22:41:37 +0000 Subject: [PATCH] Eliminate one instruction in VP8 dc_add_sse4 Originally committed as revision 24405 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/x86/vp8dsp.asm | 3 +-- 1 file changed, 1 insertion(+), 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]