[MPlayer-cvslog] r28940 - in trunk/libmpcodecs: vf_decimate.c vf_divtc.c

reimar subversion at mplayerhq.hu
Fri Mar 13 18:02:15 CET 2009


Author: reimar
Date: Fri Mar 13 18:02:15 2009
New Revision: 28940

Log:
Add missing ecx clobber in diff_MMX code (yes, that function is duplicated).

Modified:
   trunk/libmpcodecs/vf_decimate.c
   trunk/libmpcodecs/vf_divtc.c

Modified: trunk/libmpcodecs/vf_decimate.c
==============================================================================
--- trunk/libmpcodecs/vf_decimate.c	Fri Mar 13 17:42:42 2009	(r28939)
+++ trunk/libmpcodecs/vf_decimate.c	Fri Mar 13 18:02:15 2009	(r28940)
@@ -55,7 +55,7 @@ static int diff_MMX(unsigned char *old, 
 		"emms \n\t"
 		: 
 		: "S" (old), "D" (new), "a" ((long)os), "b" ((long)ns), "d" (out)
-		: "memory"
+		: "%ecx", "memory"
 		);
 	return out[0]+out[1]+out[2]+out[3];
 }

Modified: trunk/libmpcodecs/vf_divtc.c
==============================================================================
--- trunk/libmpcodecs/vf_divtc.c	Fri Mar 13 17:42:42 2009	(r28939)
+++ trunk/libmpcodecs/vf_divtc.c	Fri Mar 13 18:02:15 2009	(r28940)
@@ -69,7 +69,7 @@ static int diff_MMX(unsigned char *old, 
 	"emms \n\t"
 	:
 	: "S" (old), "D" (new), "a" ((long)os), "b" ((long)ns), "d" (out)
-	: "memory"
+	: "%ecx", "memory"
 	);
    return out[0]+out[1]+out[2]+out[3];
    }



More information about the MPlayer-cvslog mailing list