[MPlayer-cvslog] r22393 - in trunk/mp3lib: dct64_3dnow.c decode_MMX.c decode_i586.c

reimar subversion at mplayerhq.hu
Thu Mar 1 13:45:01 CET 2007


Author: reimar
Date: Thu Mar  1 13:45:00 2007
New Revision: 22393

Modified:
   trunk/mp3lib/dct64_3dnow.c
   trunk/mp3lib/decode_MMX.c
   trunk/mp3lib/decode_i586.c

Log:
Add missing registers to asm code in mp3lib


Modified: trunk/mp3lib/dct64_3dnow.c
==============================================================================
--- trunk/mp3lib/dct64_3dnow.c	(original)
+++ trunk/mp3lib/dct64_3dnow.c	Thu Mar  1 13:45:00 2007
@@ -924,5 +924,5 @@ void dct64_MMX_3dnow(real *a,real *b,rea
 "	femms\n\t"
 	:
 	:"m"(a),"m"(b),"m"(c),"m"(tmp[0])
-	:"memory","%ebx","%esi","%edi");
+	:"memory","%eax","%ebx","%ecx","%edx","%esi","%edi");
 }

Modified: trunk/mp3lib/decode_MMX.c
==============================================================================
--- trunk/mp3lib/decode_MMX.c	(original)
+++ trunk/mp3lib/decode_MMX.c	Thu Mar  1 13:45:00 2007
@@ -244,5 +244,5 @@ ASMALIGN(4)
 	"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");
 }

Modified: trunk/mp3lib/decode_i586.c
==============================================================================
--- trunk/mp3lib/decode_i586.c	(original)
+++ trunk/mp3lib/decode_i586.c	Thu Mar  1 13:45:00 2007
@@ -313,6 +313,6 @@ int synth_1to1_pent(real *bandPtr, int c
 "        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;
 }



More information about the MPlayer-cvslog mailing list