annotate mp3lib/decode_i586.c @ 10077:c1c35a94f695

Correct dumping hint (vc dummy faster than null).
author ranma
date Mon, 05 May 2003 23:43:30 +0000
parents 1320f1b3229d
children 114f3d149324
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4147
nick
parents:
diff changeset
1 /*
nick
parents:
diff changeset
2 * mpg123_synth_1to1 works the same way as the c version of this
nick
parents:
diff changeset
3 * file. only two types of changes have been made:
nick
parents:
diff changeset
4 * - reordered floating point instructions to
nick
parents:
diff changeset
5 * prevent pipline stalls
nick
parents:
diff changeset
6 * - made WRITE_SAMPLE use integer instead of
nick
parents:
diff changeset
7 * (slower) floating point
nick
parents:
diff changeset
8 * all kinds of x86 processors should benefit from these
nick
parents:
diff changeset
9 * modifications.
nick
parents:
diff changeset
10 *
nick
parents:
diff changeset
11 * useful sources of information on optimizing x86 code include:
nick
parents:
diff changeset
12 *
nick
parents:
diff changeset
13 * Intel Architecture Optimization Manual
nick
parents:
diff changeset
14 * http://www.intel.com/design/pentium/manuals/242816.htm
nick
parents:
diff changeset
15 *
nick
parents:
diff changeset
16 * Cyrix 6x86 Instruction Set Summary
nick
parents:
diff changeset
17 * ftp://ftp.cyrix.com/6x86/6x-dbch6.pdf
nick
parents:
diff changeset
18 *
nick
parents:
diff changeset
19 * AMD-K5 Processor Software Development
nick
parents:
diff changeset
20 * http://www.amd.com/products/cpg/techdocs/appnotes/20007e.pdf
nick
parents:
diff changeset
21 *
nick
parents:
diff changeset
22 * Stefan Bieschewski <stb@acm.org>
nick
parents:
diff changeset
23 *
nick
parents:
diff changeset
24 * $Id$
nick
parents:
diff changeset
25 */
4246
3f677202418b mangling in mp3lib + stdcall undefined fix with cygwin
atmos4
parents: 4147
diff changeset
26 #include "../mangle.h"
4147
nick
parents:
diff changeset
27 #define real float /* ugly - but only way */
nick
parents:
diff changeset
28
nick
parents:
diff changeset
29 static long buffs[1088];
nick
parents:
diff changeset
30 static long bo=1;
8543
60fe896e437c decode_i586.c version uses %ebp for its own use, so:
arpi
parents: 4246
diff changeset
31 static long saved_ebp;
4147
nick
parents:
diff changeset
32
nick
parents:
diff changeset
33 int synth_1to1_pent(real *bandPtr, int channel, short *samples)
nick
parents:
diff changeset
34 {
nick
parents:
diff changeset
35 real tmp[3];
nick
parents:
diff changeset
36 register int retval;
nick
parents:
diff changeset
37 __asm __volatile(
8543
60fe896e437c decode_i586.c version uses %ebp for its own use, so:
arpi
parents: 4246
diff changeset
38 " movl %%ebp,"MANGLE(saved_ebp)"\n\t"
4147
nick
parents:
diff changeset
39 " movl %1,%%eax\n\t"/*bandPtr*/
nick
parents:
diff changeset
40 " movl %3,%%esi\n\t"
nick
parents:
diff changeset
41 " xorl %%edi,%%edi\n\t"
4246
3f677202418b mangling in mp3lib + stdcall undefined fix with cygwin
atmos4
parents: 4147
diff changeset
42 " movl "MANGLE(bo)",%%ebp\n\t"
4147
nick
parents:
diff changeset
43 " cmpl %%edi,%2\n\t"
nick
parents:
diff changeset
44 " jne .L48\n\t"
nick
parents:
diff changeset
45 " decl %%ebp\n\t"
nick
parents:
diff changeset
46 " andl $15,%%ebp\n\t"
4246
3f677202418b mangling in mp3lib + stdcall undefined fix with cygwin
atmos4
parents: 4147
diff changeset
47 " movl %%ebp,"MANGLE(bo)"\n\t"
3f677202418b mangling in mp3lib + stdcall undefined fix with cygwin
atmos4
parents: 4147
diff changeset
48 " movl $"MANGLE(buffs)",%%ecx\n\t"
4147
nick
parents:
diff changeset
49 " jmp .L49\n\t"
nick
parents:
diff changeset
50 ".L48:\n\t"
nick
parents:
diff changeset
51 " addl $2,%%esi\n\t"
4246
3f677202418b mangling in mp3lib + stdcall undefined fix with cygwin
atmos4
parents: 4147
diff changeset
52 " movl $"MANGLE(buffs)"+2176,%%ecx\n\t"
4147
nick
parents:
diff changeset
53 ".L49:\n\t"
nick
parents:
diff changeset
54 " testl $1,%%ebp\n\t"
nick
parents:
diff changeset
55 " je .L50\n\t"
nick
parents:
diff changeset
56 " movl %%ecx,%%ebx\n\t"
nick
parents:
diff changeset
57 " movl %%ebp,%4\n\t"
nick
parents:
diff changeset
58 " pushl %%eax\n\t"
nick
parents:
diff changeset
59 " movl 4+%4,%%edx\n\t"
nick
parents:
diff changeset
60 " leal (%%ebx,%%edx,4),%%eax\n\t"
nick
parents:
diff changeset
61 " pushl %%eax\n\t"
nick
parents:
diff changeset
62 " movl 8+%4,%%eax\n\t"
nick
parents:
diff changeset
63 " incl %%eax\n\t"
nick
parents:
diff changeset
64 " andl $15,%%eax\n\t"
nick
parents:
diff changeset
65 " leal 1088(,%%eax,4),%%eax\n\t"
nick
parents:
diff changeset
66 " addl %%ebx,%%eax\n\t"
nick
parents:
diff changeset
67 " jmp .L74\n\t"
nick
parents:
diff changeset
68 ".L50:\n\t"
nick
parents:
diff changeset
69 " leal 1088(%%ecx),%%ebx\n\t"
nick
parents:
diff changeset
70 " leal 1(%%ebp),%%edx\n\t"
nick
parents:
diff changeset
71 " movl %%edx,%4\n\t"
nick
parents:
diff changeset
72 " pushl %%eax\n\t"
nick
parents:
diff changeset
73 " leal 1092(%%ecx,%%ebp,4),%%eax\n\t"
nick
parents:
diff changeset
74 " pushl %%eax\n\t"
nick
parents:
diff changeset
75 " leal (%%ecx,%%ebp,4),%%eax\n\t"
nick
parents:
diff changeset
76 ".L74:\n\t"
nick
parents:
diff changeset
77 " pushl %%eax\n\t"
4246
3f677202418b mangling in mp3lib + stdcall undefined fix with cygwin
atmos4
parents: 4147
diff changeset
78 " call "MANGLE(dct64)"\n\t"
4147
nick
parents:
diff changeset
79 " addl $12,%%esp\n\t"
nick
parents:
diff changeset
80 " movl %4,%%edx\n\t"
nick
parents:
diff changeset
81 " leal 0(,%%edx,4),%%edx\n\t"
8560
1320f1b3229d fixing that f*cking linker 'bug' e.g. naming config with libmp3lame
alex
parents: 8543
diff changeset
82 " movl $"MANGLE(mp3lib_decwin)"+64,%%eax\n\t"
4147
nick
parents:
diff changeset
83 " movl %%eax,%%ecx\n\t"
nick
parents:
diff changeset
84 " subl %%edx,%%ecx\n\t"
nick
parents:
diff changeset
85 " movl $16,%%ebp\n\t"
nick
parents:
diff changeset
86 ".L55:\n\t"
nick
parents:
diff changeset
87 " flds (%%ecx)\n\t"
nick
parents:
diff changeset
88 " fmuls (%%ebx)\n\t"
nick
parents:
diff changeset
89 " flds 4(%%ecx)\n\t"
nick
parents:
diff changeset
90 " fmuls 4(%%ebx)\n\t"
nick
parents:
diff changeset
91 " fxch %%st(1)\n\t"
nick
parents:
diff changeset
92 " flds 8(%%ecx)\n\t"
nick
parents:
diff changeset
93 " fmuls 8(%%ebx)\n\t"
nick
parents:
diff changeset
94 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
95 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
96 " flds 12(%%ecx)\n\t"
nick
parents:
diff changeset
97 " fmuls 12(%%ebx)\n\t"
nick
parents:
diff changeset
98 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
99 " faddp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
100 " flds 16(%%ecx)\n\t"
nick
parents:
diff changeset
101 " fmuls 16(%%ebx)\n\t"
nick
parents:
diff changeset
102 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
103 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
104 " flds 20(%%ecx)\n\t"
nick
parents:
diff changeset
105 " fmuls 20(%%ebx)\n\t"
nick
parents:
diff changeset
106 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
107 " faddp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
108 " flds 24(%%ecx)\n\t"
nick
parents:
diff changeset
109 " fmuls 24(%%ebx)\n\t"
nick
parents:
diff changeset
110 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
111 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
112 " flds 28(%%ecx)\n\t"
nick
parents:
diff changeset
113 " fmuls 28(%%ebx)\n\t"
nick
parents:
diff changeset
114 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
115 " faddp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
116 " flds 32(%%ecx)\n\t"
nick
parents:
diff changeset
117 " fmuls 32(%%ebx)\n\t"
nick
parents:
diff changeset
118 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
119 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
120 " flds 36(%%ecx)\n\t"
nick
parents:
diff changeset
121 " fmuls 36(%%ebx)\n\t"
nick
parents:
diff changeset
122 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
123 " faddp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
124 " flds 40(%%ecx)\n\t"
nick
parents:
diff changeset
125 " fmuls 40(%%ebx)\n\t"
nick
parents:
diff changeset
126 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
127 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
128 " flds 44(%%ecx)\n\t"
nick
parents:
diff changeset
129 " fmuls 44(%%ebx)\n\t"
nick
parents:
diff changeset
130 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
131 " faddp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
132 " flds 48(%%ecx)\n\t"
nick
parents:
diff changeset
133 " fmuls 48(%%ebx)\n\t"
nick
parents:
diff changeset
134 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
135 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
136 " flds 52(%%ecx)\n\t"
nick
parents:
diff changeset
137 " fmuls 52(%%ebx)\n\t"
nick
parents:
diff changeset
138 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
139 " faddp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
140 " flds 56(%%ecx)\n\t"
nick
parents:
diff changeset
141 " fmuls 56(%%ebx)\n\t"
nick
parents:
diff changeset
142 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
143 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
144 " flds 60(%%ecx)\n\t"
nick
parents:
diff changeset
145 " fmuls 60(%%ebx)\n\t"
nick
parents:
diff changeset
146 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
147 " subl $4,%%esp\n\t"
nick
parents:
diff changeset
148 " faddp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
149 " fxch %%st(1)\n\t"
nick
parents:
diff changeset
150 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
151 " fistpl (%%esp)\n\t"
nick
parents:
diff changeset
152 " popl %%eax\n\t"
nick
parents:
diff changeset
153 " cmpl $32767,%%eax\n\t"
nick
parents:
diff changeset
154 " jg 1f\n\t"
nick
parents:
diff changeset
155 " cmpl $-32768,%%eax\n\t"
nick
parents:
diff changeset
156 " jl 2f\n\t"
nick
parents:
diff changeset
157 " movw %%ax,(%%esi)\n\t"
nick
parents:
diff changeset
158 " jmp 4f\n\t"
nick
parents:
diff changeset
159 "1: movw $32767,(%%esi)\n\t"
nick
parents:
diff changeset
160 " jmp 3f\n\t"
nick
parents:
diff changeset
161 "2: movw $-32768,(%%esi)\n\t"
nick
parents:
diff changeset
162 "3: incl %%edi\n\t"
nick
parents:
diff changeset
163 "4:\n\t"
nick
parents:
diff changeset
164 ".L54:\n\t"
nick
parents:
diff changeset
165 " addl $64,%%ebx\n\t"
nick
parents:
diff changeset
166 " subl $-128,%%ecx\n\t"
nick
parents:
diff changeset
167 " addl $4,%%esi\n\t"
nick
parents:
diff changeset
168 " decl %%ebp\n\t"
nick
parents:
diff changeset
169 " jnz .L55\n\t"
nick
parents:
diff changeset
170 " flds (%%ecx)\n\t"
nick
parents:
diff changeset
171 " fmuls (%%ebx)\n\t"
nick
parents:
diff changeset
172 " flds 8(%%ecx)\n\t"
nick
parents:
diff changeset
173 " fmuls 8(%%ebx)\n\t"
nick
parents:
diff changeset
174 " flds 16(%%ecx)\n\t"
nick
parents:
diff changeset
175 " fmuls 16(%%ebx)\n\t"
nick
parents:
diff changeset
176 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
177 " faddp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
178 " flds 24(%%ecx)\n\t"
nick
parents:
diff changeset
179 " fmuls 24(%%ebx)\n\t"
nick
parents:
diff changeset
180 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
181 " faddp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
182 " flds 32(%%ecx)\n\t"
nick
parents:
diff changeset
183 " fmuls 32(%%ebx)\n\t"
nick
parents:
diff changeset
184 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
185 " faddp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
186 " flds 40(%%ecx)\n\t"
nick
parents:
diff changeset
187 " fmuls 40(%%ebx)\n\t"
nick
parents:
diff changeset
188 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
189 " faddp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
190 " flds 48(%%ecx)\n\t"
nick
parents:
diff changeset
191 " fmuls 48(%%ebx)\n\t"
nick
parents:
diff changeset
192 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
193 " faddp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
194 " flds 56(%%ecx)\n\t"
nick
parents:
diff changeset
195 " fmuls 56(%%ebx)\n\t"
nick
parents:
diff changeset
196 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
197 " subl $4,%%esp\n\t"
nick
parents:
diff changeset
198 " faddp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
199 " fxch %%st(1)\n\t"
nick
parents:
diff changeset
200 " faddp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
201 " fistpl (%%esp)\n\t"
nick
parents:
diff changeset
202 " popl %%eax\n\t"
nick
parents:
diff changeset
203 " cmpl $32767,%%eax\n\t"
nick
parents:
diff changeset
204 " jg 1f\n\t"
nick
parents:
diff changeset
205 " cmpl $-32768,%%eax\n\t"
nick
parents:
diff changeset
206 " jl 2f\n\t"
nick
parents:
diff changeset
207 " movw %%ax,(%%esi)\n\t"
nick
parents:
diff changeset
208 " jmp 4f\n\t"
nick
parents:
diff changeset
209 "1: movw $32767,(%%esi)\n\t"
nick
parents:
diff changeset
210 " jmp 3f\n\t"
nick
parents:
diff changeset
211 "2: movw $-32768,(%%esi)\n\t"
nick
parents:
diff changeset
212 "3: incl %%edi\n\t"
nick
parents:
diff changeset
213 "4:\n\t"
nick
parents:
diff changeset
214 ".L62:\n\t"
nick
parents:
diff changeset
215 " addl $-64,%%ebx\n\t"
nick
parents:
diff changeset
216 " addl $4,%%esi\n\t"
nick
parents:
diff changeset
217 " movl %4,%%edx\n\t"
nick
parents:
diff changeset
218 " leal -128(%%ecx,%%edx,8),%%ecx\n\t"
nick
parents:
diff changeset
219 " movl $15,%%ebp\n\t"
nick
parents:
diff changeset
220 ".L68:\n\t"
nick
parents:
diff changeset
221 " flds -4(%%ecx)\n\t"
nick
parents:
diff changeset
222 " fchs\n\t"
nick
parents:
diff changeset
223 " fmuls (%%ebx)\n\t"
nick
parents:
diff changeset
224 " flds -8(%%ecx)\n\t"
nick
parents:
diff changeset
225 " fmuls 4(%%ebx)\n\t"
nick
parents:
diff changeset
226 " fxch %%st(1)\n\t"
nick
parents:
diff changeset
227 " flds -12(%%ecx)\n\t"
nick
parents:
diff changeset
228 " fmuls 8(%%ebx)\n\t"
nick
parents:
diff changeset
229 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
230 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
231 " flds -16(%%ecx)\n\t"
nick
parents:
diff changeset
232 " fmuls 12(%%ebx)\n\t"
nick
parents:
diff changeset
233 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
234 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
235 " flds -20(%%ecx)\n\t"
nick
parents:
diff changeset
236 " fmuls 16(%%ebx)\n\t"
nick
parents:
diff changeset
237 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
238 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
239 " flds -24(%%ecx)\n\t"
nick
parents:
diff changeset
240 " fmuls 20(%%ebx)\n\t"
nick
parents:
diff changeset
241 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
242 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
243 " flds -28(%%ecx)\n\t"
nick
parents:
diff changeset
244 " fmuls 24(%%ebx)\n\t"
nick
parents:
diff changeset
245 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
246 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
247 " flds -32(%%ecx)\n\t"
nick
parents:
diff changeset
248 " fmuls 28(%%ebx)\n\t"
nick
parents:
diff changeset
249 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
250 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
251 " flds -36(%%ecx)\n\t"
nick
parents:
diff changeset
252 " fmuls 32(%%ebx)\n\t"
nick
parents:
diff changeset
253 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
254 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
255 " flds -40(%%ecx)\n\t"
nick
parents:
diff changeset
256 " fmuls 36(%%ebx)\n\t"
nick
parents:
diff changeset
257 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
258 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
259 " flds -44(%%ecx)\n\t"
nick
parents:
diff changeset
260 " fmuls 40(%%ebx)\n\t"
nick
parents:
diff changeset
261 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
262 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
263 " flds -48(%%ecx)\n\t"
nick
parents:
diff changeset
264 " fmuls 44(%%ebx)\n\t"
nick
parents:
diff changeset
265 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
266 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
267 " flds -52(%%ecx)\n\t"
nick
parents:
diff changeset
268 " fmuls 48(%%ebx)\n\t"
nick
parents:
diff changeset
269 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
270 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
271 " flds -56(%%ecx)\n\t"
nick
parents:
diff changeset
272 " fmuls 52(%%ebx)\n\t"
nick
parents:
diff changeset
273 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
274 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
275 " flds -60(%%ecx)\n\t"
nick
parents:
diff changeset
276 " fmuls 56(%%ebx)\n\t"
nick
parents:
diff changeset
277 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
278 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
279 " flds (%%ecx)\n\t"
nick
parents:
diff changeset
280 " fmuls 60(%%ebx)\n\t"
nick
parents:
diff changeset
281 " fxch %%st(2)\n\t"
nick
parents:
diff changeset
282 " subl $4,%%esp\n\t"
nick
parents:
diff changeset
283 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
284 " fxch %%st(1)\n\t"
nick
parents:
diff changeset
285 " fsubrp %%st,%%st(1)\n\t"
nick
parents:
diff changeset
286 " fistpl (%%esp)\n\t"
nick
parents:
diff changeset
287 " popl %%eax\n\t"
nick
parents:
diff changeset
288 " cmpl $32767,%%eax\n\t"
nick
parents:
diff changeset
289 " jg 1f\n\t"
nick
parents:
diff changeset
290 " cmpl $-32768,%%eax\n\t"
nick
parents:
diff changeset
291 " jl 2f\n\t"
nick
parents:
diff changeset
292 " movw %%ax,(%%esi)\n\t"
nick
parents:
diff changeset
293 " jmp 4f\n\t"
nick
parents:
diff changeset
294 "1: movw $32767,(%%esi)\n\t"
nick
parents:
diff changeset
295 " jmp 3f\n\t"
nick
parents:
diff changeset
296 "2: movw $-32768,(%%esi)\n\t"
nick
parents:
diff changeset
297 "3: incl %%edi\n\t"
nick
parents:
diff changeset
298 "4:\n\t"
nick
parents:
diff changeset
299 ".L67:\n\t"
nick
parents:
diff changeset
300 " addl $-64,%%ebx\n\t"
nick
parents:
diff changeset
301 " addl $-128,%%ecx\n\t"
nick
parents:
diff changeset
302 " addl $4,%%esi\n\t"
nick
parents:
diff changeset
303 " decl %%ebp\n\t"
nick
parents:
diff changeset
304 " jnz .L68\n\t"
nick
parents:
diff changeset
305 " movl %%edi,%%eax\n\t"
8543
60fe896e437c decode_i586.c version uses %ebp for its own use, so:
arpi
parents: 4246
diff changeset
306 " movl "MANGLE(saved_ebp)",%%ebp\n\t"
4147
nick
parents:
diff changeset
307 :"=a"(retval)
nick
parents:
diff changeset
308 :"m"(bandPtr),"m"(channel),"m"(samples),"m"(tmp[0])
8543
60fe896e437c decode_i586.c version uses %ebp for its own use, so:
arpi
parents: 4246
diff changeset
309 :"memory","%edi","%esi","%ebx");
4147
nick
parents:
diff changeset
310 return retval;
nick
parents:
diff changeset
311 }