# HG changeset patch # User reimar # Date 1172753100 0 # Node ID 8092494fc92c0f8a31de7439e223e11d1e7b0de3 # Parent 592e6aa9585bccf516aab880b5ebeaab38fc9dd0 Add missing registers to asm code in mp3lib diff -r 592e6aa9585b -r 8092494fc92c mp3lib/dct64_3dnow.c --- 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"); } diff -r 592e6aa9585b -r 8092494fc92c mp3lib/decode_MMX.c --- 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"); } diff -r 592e6aa9585b -r 8092494fc92c mp3lib/decode_i586.c --- 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; }