Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 271906 | Differences between
and this patch

Collapse All | Expand All

(-)mp3lib/decode_mmx.c (-4 / +4 lines)
Lines 219-225 Link Here
219
    //printf("DEBUG: channel %d, bo %d, off %d\n", channel, bo, 16 - bo1);
219
    //printf("DEBUG: channel %d, bo %d, off %d\n", channel, bo, 16 - bo1);
220
__asm__ volatile(
220
__asm__ volatile(
221
ASMALIGN(4)
221
ASMALIGN(4)
222
".L03:\n\t"
222
"0:\n\t"
223
        "movq  (%1),%%mm0\n\t"
223
        "movq  (%1),%%mm0\n\t"
224
        "movq  64(%1),%%mm4\n\t"
224
        "movq  64(%1),%%mm4\n\t"
225
        "pmaddwd (%2),%%mm0\n\t"
225
        "pmaddwd (%2),%%mm0\n\t"
Lines 265-271 Link Here
265
        "add $8,%3\n\t"
265
        "add $8,%3\n\t"
266
266
267
	"decl %0\n\t"
267
	"decl %0\n\t"
268
        "jnz  .L03\n\t"
268
        "jnz  0\n\t"
269
269
270
        "movq  (%1),%%mm0\n\t"
270
        "movq  (%1),%%mm0\n\t"
271
        "pmaddwd (%2),%%mm0\n\t"
271
        "pmaddwd (%2),%%mm0\n\t"
Lines 291-297 Link Here
291
291
292
        "movl $7,%0\n\t"
292
        "movl $7,%0\n\t"
293
ASMALIGN(4)
293
ASMALIGN(4)
294
".L04:\n\t"
294
"1:\n\t"
295
        "movq  (%1),%%mm0\n\t"
295
        "movq  (%1),%%mm0\n\t"
296
        "movq  64(%1),%%mm4\n\t"
296
        "movq  64(%1),%%mm4\n\t"
297
        "pmaddwd (%2),%%mm0\n\t"
297
        "pmaddwd (%2),%%mm0\n\t"
Lines 340-346 Link Here
340
        "add $128,%1\n\t"
340
        "add $128,%1\n\t"
341
        "add $8,%3\n\t"
341
        "add $8,%3\n\t"
342
        "decl %0\n\t"
342
        "decl %0\n\t"
343
	"jnz  .L04\n\t"
343
	"jnz  1\n\t"
344
344
345
        "movq  (%1),%%mm0\n\t"
345
        "movq  (%1),%%mm0\n\t"
346
        "pmaddwd (%2),%%mm0\n\t"
346
        "pmaddwd (%2),%%mm0\n\t"

Return to bug 271906