summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-01 12:45:00 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-03-01 12:45:00 +0000
commit2ad2fefc2b486778470a7538059eb932b8d3bdb7 (patch)
treeaa93fb565e886c13cd1406416804b9c9ef676412
parent8c4bbd0cb2ace517be3d44208c6381e1138846bf (diff)
downloadmpv-2ad2fefc2b486778470a7538059eb932b8d3bdb7.tar.bz2
mpv-2ad2fefc2b486778470a7538059eb932b8d3bdb7.tar.xz
Add missing registers to asm code in mp3lib
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22393 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--mp3lib/dct64_3dnow.c2
-rw-r--r--mp3lib/decode_MMX.c2
-rw-r--r--mp3lib/decode_i586.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/mp3lib/dct64_3dnow.c b/mp3lib/dct64_3dnow.c
index 0d898bc2f0..841fa98b00 100644
--- a/mp3lib/dct64_3dnow.c
+++ b/mp3lib/dct64_3dnow.c
@@ -924,5 +924,5 @@ void dct64_MMX_3dnow(real *a,real *b,real *c)
" femms\n\t"
:
:"m"(a),"m"(b),"m"(c),"m"(tmp[0])
- :"memory","%ebx","%esi","%edi");
+ :"memory","%eax","%ebx","%ecx","%edx","%esi","%edi");
}
diff --git a/mp3lib/decode_MMX.c b/mp3lib/decode_MMX.c
index 47c1db84e6..bd8e634676 100644
--- a/mp3lib/decode_MMX.c
+++ b/mp3lib/decode_MMX.c
@@ -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");
}
diff --git a/mp3lib/decode_i586.c b/mp3lib/decode_i586.c
index dd553fa4ae..0a4ca1ebf1 100644
--- a/mp3lib/decode_i586.c
+++ b/mp3lib/decode_i586.c
@@ -313,6 +313,6 @@ int synth_1to1_pent(real *bandPtr, int channel, short *samples)
" 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;
}