[MPlayer-dev-eng] [PATCH] incomplete clobber lists in mp3lib

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Mon Feb 26 12:04:43 CET 2007


Hello,
okay to apply attached patch to fix it?
Quite possibly I missed something else being clobbered, but it should at
least be an improvement.

Greetings,
Reimar Döffinger
-------------- next part --------------
Index: mp3lib/dct64_3dnow.c
===================================================================
--- mp3lib/dct64_3dnow.c	(revision 22339)
+++ mp3lib/dct64_3dnow.c	(working copy)
@@ -924,5 +924,5 @@
 "	femms\n\t"
 	:
 	:"m"(a),"m"(b),"m"(c),"m"(tmp[0])
-	:"memory","%ebx","%esi","%edi");
+	:"memory","%eax","%ebx","%ecx","%edx","%esi","%edi");
 }
Index: mp3lib/decode_i586.c
===================================================================
--- mp3lib/decode_i586.c	(revision 22339)
+++ mp3lib/decode_i586.c	(working copy)
@@ -313,6 +313,6 @@
 "        movl "MANGLE(saved_ebp)",%%ebp\n\t"
 	:"=a"(retval)
 	:"m"(bandPtr),"m"(channel),"m"(samples),"m"(tmp[0])
-	:"memory","%edi","%esi","%ebx");
+	:"memory","%edi","%esi","%ebx","%ecx","%edx");
   return retval;
 }
Index: mp3lib/decode_MMX.c
===================================================================
--- mp3lib/decode_MMX.c	(revision 22339)
+++ mp3lib/decode_MMX.c	(working copy)
@@ -244,5 +244,5 @@
 	"emms\n\t"
         :
 	:"m"(bandPtr),"m"(channel),"m"(samples),"m"(buffs),"m"(bo), "m"(temp)
-	:"memory","%edi","%esi","%ebx","%esp");
+	:"memory","%edi","%esi","%eax","%ebx","%ecx","%edx","%esp");
 }


More information about the MPlayer-dev-eng mailing list