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

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28940 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar
2009-03-13 17:02:15 +00:00
parent db0be49509
commit 2af2550175
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ static int diff_MMX(unsigned char *old, unsigned char *new, int os, int ns)
"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];
}
+1 -1
View File
@@ -69,7 +69,7 @@ static int diff_MMX(unsigned char *old, unsigned char *new, int os, int ns)
"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];
}