comparison mp3lib/decode_MMX.c @ 11240:5403367c7032

removed the stdcall convention
author alex
date Wed, 22 Oct 2003 20:58:46 +0000
parents 1320f1b3229d
children b91bd88dafea
comparison
equal deleted inserted replaced
11239:a71000eeeb9c 11240:5403367c7032
67 "movl %%eax,(%%edx)\n\t" 67 "movl %%eax,(%%edx)\n\t"
68 ".L01:\n\t" 68 ".L01:\n\t"
69 "leal (%%esi,%%eax,2),%%edx\n\t" 69 "leal (%%esi,%%eax,2),%%edx\n\t"
70 "movl %%eax,%5\n\t" 70 "movl %%eax,%5\n\t"
71 "incl %%eax\n\t" 71 "incl %%eax\n\t"
72 "pushl %0\n\t"
73 "andl %%ebx,%%eax\n\t" 72 "andl %%ebx,%%eax\n\t"
74 "leal 544(%%esi,%%eax,2),%%ecx\n\t" 73 "leal 544(%%esi,%%eax,2),%%ecx\n\t"
75 "incl %%ebx\n\t" 74 "incl %%ebx\n\t"
76 "testl $1, %%eax\n\t" 75 "testl $1, %%eax\n\t"
77 "jnz .L02\n\t" 76 "jnz .L02\n\t"
78 "xchgl %%edx,%%ecx\n\t" 77 "xchgl %%edx,%%ecx\n\t"
79 "incl %5\n\t" 78 "incl %5\n\t"
80 "leal 544(%%esi),%%esi\n\t" 79 "leal 544(%%esi),%%esi\n\t"
81 ".L02:\n\t" 80 ".L02:\n\t"
82 "emms\n\t" 81 "emms\n\t"
82 "pushl %0\n\t"
83 "pushl %%edx\n\t" 83 "pushl %%edx\n\t"
84 "pushl %%ecx\n\t" 84 "pushl %%ecx\n\t"
85 "call *"MANGLE(dct64_MMX_func)"\n\t" 85 "call *"MANGLE(dct64_MMX_func)"\n\t"
86 "addl $12, %%esp\n\t"
86 "leal 1(%%ebx), %%ecx\n\t" 87 "leal 1(%%ebx), %%ecx\n\t"
87 "subl %5,%%ebx\n\t" 88 "subl %5,%%ebx\n\t"
88 "pushl %%ecx\n\t" 89 "pushl %%ecx\n\t"
89 "leal "MANGLE(mp3lib_decwins)"(%%ebx,%%ebx,1), %%edx\n\t" 90 "leal "MANGLE(mp3lib_decwins)"(%%ebx,%%ebx,1), %%edx\n\t"
90 "shrl $1, %%ecx\n\t" 91 "shrl $1, %%ecx\n\t"
239 "movd %%mm0,%%eax\n\t" 240 "movd %%mm0,%%eax\n\t"
240 "movw %%ax,(%%edi)\n\t" 241 "movw %%ax,(%%edi)\n\t"
241 "emms\n\t" 242 "emms\n\t"
242 : 243 :
243 :"m"(bandPtr),"m"(channel),"m"(samples),"m"(buffs),"m"(bo), "m"(temp) 244 :"m"(bandPtr),"m"(channel),"m"(samples),"m"(buffs),"m"(bo), "m"(temp)
244 :"memory","%edi","%esi","%ebx"); 245 :"memory","%edi","%esi","%ebx","%esp");
245 } 246 }