[FFmpeg-cvslog] r24405 - trunk/libavcodec/x86/vp8dsp.asm

darkshikari subversion
Thu Jul 22 00:41:38 CEST 2010


Author: darkshikari
Date: Thu Jul 22 00:41:37 2010
New Revision: 24405

Log:
Eliminate one instruction in VP8 dc_add_sse4

Modified:
   trunk/libavcodec/x86/vp8dsp.asm

Modified: trunk/libavcodec/x86/vp8dsp.asm
==============================================================================
--- trunk/libavcodec/x86/vp8dsp.asm	Thu Jul 22 00:33:06 2010	(r24404)
+++ trunk/libavcodec/x86/vp8dsp.asm	Thu Jul 22 00:41:37 2010	(r24405)
@@ -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]



More information about the ffmpeg-cvslog mailing list