changeset 12211:5fbc541988f7 libavcodec

Eliminate one instruction in VP8 dc_add_sse4
author darkshikari
date Wed, 21 Jul 2010 22:41:37 +0000
parents baf13deed97e
children bc13f76ecfbf
files x86/vp8dsp.asm
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/x86/vp8dsp.asm	Wed Jul 21 22:11:03 2010 +0000
+++ b/x86/vp8dsp.asm	Wed Jul 21 22:41:37 2010 +0000
@@ -946,10 +946,9 @@
     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]