changeset 22375:8092494fc92c

Add missing registers to asm code in mp3lib
author reimar
date Thu, 01 Mar 2007 12:45:00 +0000
parents 592e6aa9585b
children 6c1fe779b704
files mp3lib/dct64_3dnow.c mp3lib/decode_MMX.c mp3lib/decode_i586.c
diffstat 3 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mp3lib/dct64_3dnow.c	Thu Mar 01 12:43:14 2007 +0000
+++ b/mp3lib/dct64_3dnow.c	Thu Mar 01 12:45:00 2007 +0000
@@ -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");
 }
--- a/mp3lib/decode_MMX.c	Thu Mar 01 12:43:14 2007 +0000
+++ b/mp3lib/decode_MMX.c	Thu Mar 01 12:45:00 2007 +0000
@@ -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");
 }
--- a/mp3lib/decode_i586.c	Thu Mar 01 12:43:14 2007 +0000
+++ b/mp3lib/decode_i586.c	Thu Mar 01 12:45:00 2007 +0000
@@ -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;
 }