diff options
author | Jason Garrett-Glaser <darkshikari@gmail.com> | 2010-07-21 22:41:37 +0000 |
---|---|---|
committer | Jason Garrett-Glaser <darkshikari@gmail.com> | 2010-07-21 22:41:37 +0000 |
commit | 8731dbd8904e1f5061ae4e2f4029e54516284249 (patch) | |
tree | c6d07b391bda4c191ed200044e75bd9ebcb15299 | |
parent | 0662bf22ecaae761004a923a6c989f64ee51aed4 (diff) | |
download | ffmpeg-8731dbd8904e1f5061ae4e2f4029e54516284249.tar.gz |
Eliminate one instruction in VP8 dc_add_sse4
Originally committed as revision 24405 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/x86/vp8dsp.asm | 3 |
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] |