summaryrefslogtreecommitdiffstats
path: root/mp3lib/decode_MMX.c
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-22 20:58:46 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-22 20:58:46 +0000
commitcf069df98e3ae5a0ee6179ba7f6f734b323ed7f2 (patch)
tree0db619d1bbb8bd7b1a5e2e65ac24773bced18177 /mp3lib/decode_MMX.c
parentc5065685a83ee76dc4f8fdbebb738ca79260cc80 (diff)
downloadmpv-cf069df98e3ae5a0ee6179ba7f6f734b323ed7f2.tar.bz2
mpv-cf069df98e3ae5a0ee6179ba7f6f734b323ed7f2.tar.xz
removed the stdcall convention
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11241 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'mp3lib/decode_MMX.c')
-rw-r--r--mp3lib/decode_MMX.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mp3lib/decode_MMX.c b/mp3lib/decode_MMX.c
index 5ed21c5a2c..ec3181d9be 100644
--- a/mp3lib/decode_MMX.c
+++ b/mp3lib/decode_MMX.c
@@ -69,7 +69,6 @@ __asm __volatile(
"leal (%%esi,%%eax,2),%%edx\n\t"
"movl %%eax,%5\n\t"
"incl %%eax\n\t"
- "pushl %0\n\t"
"andl %%ebx,%%eax\n\t"
"leal 544(%%esi,%%eax,2),%%ecx\n\t"
"incl %%ebx\n\t"
@@ -80,9 +79,11 @@ __asm __volatile(
"leal 544(%%esi),%%esi\n\t"
".L02:\n\t"
"emms\n\t"
+ "pushl %0\n\t"
"pushl %%edx\n\t"
"pushl %%ecx\n\t"
"call *"MANGLE(dct64_MMX_func)"\n\t"
+ "addl $12, %%esp\n\t"
"leal 1(%%ebx), %%ecx\n\t"
"subl %5,%%ebx\n\t"
"pushl %%ecx\n\t"
@@ -241,5 +242,5 @@ __asm __volatile(
"emms\n\t"
:
:"m"(bandPtr),"m"(channel),"m"(samples),"m"(buffs),"m"(bo), "m"(temp)
- :"memory","%edi","%esi","%ebx");
+ :"memory","%edi","%esi","%ebx","%esp");
}