changeset 28905:b538600d545c

Add missing ecx clobber in diff_MMX code (yes, that function is duplicated).
author reimar
date Fri, 13 Mar 2009 17:02:15 +0000
parents 69590d5c32cf
children 6cc8cc259dc1
files libmpcodecs/vf_decimate.c libmpcodecs/vf_divtc.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_decimate.c	Fri Mar 13 16:42:42 2009 +0000
+++ b/libmpcodecs/vf_decimate.c	Fri Mar 13 17:02:15 2009 +0000
@@ -55,7 +55,7 @@
 		"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];
 }
--- a/libmpcodecs/vf_divtc.c	Fri Mar 13 16:42:42 2009 +0000
+++ b/libmpcodecs/vf_divtc.c	Fri Mar 13 17:02:15 2009 +0000
@@ -69,7 +69,7 @@
 	"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];
    }