[Mplayer-cvslog] CVS: main/mp3lib decod386.c,1.9,1.10

Alex Beregszaszi alex at mplayer.dev.hu
Mon Jan 14 17:16:10 CET 2002


Update of /cvsroot/mplayer/main/mp3lib
In directory mplayer:/var/tmp.root/cvs-serv14099

Modified Files:
	decod386.c 
Log Message:
runtime cpudetect suppport

Index: decod386.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/decod386.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- decod386.c	23 Sep 2001 02:07:01 -0000	1.9
+++ decod386.c	14 Jan 2002 16:15:59 -0000	1.10
@@ -149,7 +149,7 @@
 
 synth_func_t synth_func;
 
-#ifdef HAVE_MMX
+#if (defined(RUNTIME_CPUDETECT) && defined(CAN_COMPILE_X86_ASM)) || defined(HAVE_MMX)
 int synth_1to1_MMX( real *bandPtr,int channel,short * samples)
 {
     static short buffs[2][2][0x110];
@@ -168,7 +168,8 @@
   real *b0,(*buf)[0x110];
   int clip = 0;
   int bo1;
-#ifdef ARCH_X86
+/* optimized for x86 */
+#if (defined(RUNTIME_CPUDETECT) && defined(CAN_COMPILE_X86_ASM)) || defined(ARCH_X86)
   if ( synth_func )
    {
     int ret;




More information about the MPlayer-cvslog mailing list