[MPlayer-cvslog] r21062 - trunk/mp3lib/decode_MMX.c
reimar
subversion at mplayerhq.hu
Sun Nov 19 17:44:19 CET 2006
Author: reimar
Date: Sun Nov 19 17:44:19 2006
New Revision: 21062
Modified:
trunk/mp3lib/decode_MMX.c
Log:
Use ASMALIGN macro for better compatibility and remove SYS_DARWIN
#ifdef hack introduced in r21056.
Modified: trunk/mp3lib/decode_MMX.c
==============================================================================
--- trunk/mp3lib/decode_MMX.c (original)
+++ trunk/mp3lib/decode_MMX.c Sun Nov 19 17:44:19 2006
@@ -48,7 +48,6 @@
1060439283,
};
-#ifndef SYS_DARWIN
static int temp; // buggy gcc 3.x fails if this is moved into the function :(
void synth_1to1_MMX_s(real *bandPtr, int channel, short *samples,
short *buffs, int *bo)
@@ -92,7 +91,7 @@
"pushl %%ecx\n\t"
"leal "MANGLE(mp3lib_decwins)"(%%ebx,%%ebx,1), %%edx\n\t"
"shrl $1, %%ecx\n\t"
-".balign 16\n\t"
+ASMALIGN(4)
".L03:\n\t"
"movq (%%edx),%%mm0\n\t"
"movq 64(%%edx),%%mm4\n\t"
@@ -170,7 +169,7 @@
".next_loop:\n\t"
"subl $64,%%esi\n\t"
"movl $7,%%ecx\n\t"
-".balign 16\n\t"
+ASMALIGN(4)
".L04:\n\t"
"movq (%%edx),%%mm0\n\t"
"movq 64(%%edx),%%mm4\n\t"
@@ -247,4 +246,3 @@
:"m"(bandPtr),"m"(channel),"m"(samples),"m"(buffs),"m"(bo), "m"(temp)
:"memory","%edi","%esi","%ebx","%esp");
}
-#endif /* SYS_DARWIN */
More information about the MPlayer-cvslog
mailing list