[FFmpeg-cvslog] r25140 - trunk/libavcodec/x86/dsputilenc_yasm.asm

rbultje subversion
Fri Sep 17 14:24:22 CEST 2010


Author: rbultje
Date: Fri Sep 17 14:24:22 2010
New Revision: 25140

Log:
Don't access upper 32 bits of a 32-bit int on 64-bit systems.

Modified:
   trunk/libavcodec/x86/dsputilenc_yasm.asm

Modified: trunk/libavcodec/x86/dsputilenc_yasm.asm
==============================================================================
--- trunk/libavcodec/x86/dsputilenc_yasm.asm	Fri Sep 17 12:52:43 2010	(r25139)
+++ trunk/libavcodec/x86/dsputilenc_yasm.asm	Fri Sep 17 14:24:22 2010	(r25140)
@@ -284,7 +284,7 @@ HADAMARD8_DIFF_SSE2 ssse3, 9
 INIT_XMM
 ; sse16_sse2(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h)
 cglobal sse16_sse2, 5, 5, 8
-    shr       r4, 1
+    shr      r4d, 1
     pxor      m0, m0         ; mm0 = 0
     pxor      m7, m7         ; mm7 holds the sum
 



More information about the ffmpeg-cvslog mailing list