Mercurial > mplayer.hg
comparison mp3lib/decode_MMX.c @ 11266:6beea1683618
reverting my last change as buggy gcc 3.x fails with it :(
author | alex |
---|---|
date | Sat, 25 Oct 2003 23:13:54 +0000 |
parents | b91bd88dafea |
children | 114f3d149324 |
comparison
equal
deleted
inserted
replaced
11265:f6adf8511cd5 | 11266:6beea1683618 |
---|---|
45 1057655764, | 45 1057655764, |
46 1067924853, | 46 1067924853, |
47 1060439283, | 47 1060439283, |
48 }; | 48 }; |
49 | 49 |
50 static int temp; // buggy gcc 3.x fails if this is moved into the function :( | |
50 void synth_1to1_MMX_s(real *bandPtr, int channel, short *samples, | 51 void synth_1to1_MMX_s(real *bandPtr, int channel, short *samples, |
51 short *buffs, int *bo) | 52 short *buffs, int *bo) |
52 { | 53 { |
53 int temp; | |
54 | 54 |
55 __asm __volatile( | 55 __asm __volatile( |
56 "movl %1,%%ecx\n\t" | 56 "movl %1,%%ecx\n\t" |
57 "movl %2,%%edi\n\t" | 57 "movl %2,%%edi\n\t" |
58 "movl $15,%%ebx\n\t" | 58 "movl $15,%%ebx\n\t" |