[Mplayer-cvslog] CVS: main/mp3lib Makefile,1.11,1.12 sr1.c,1.12,1.13
Atmosfear
atmos4 at mplayer.dev.hu
Fri Jul 27 19:21:25 CEST 2001
Update of /cvsroot/mplayer/main/mp3lib
In directory mplayer:/var/tmp.root/cvs-serv16022
Modified Files:
Makefile sr1.c
Log Message:
Beginning sse optimization of dct code.
Index: Makefile
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/Makefile,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -r1.11 -r1.12
--- Makefile 4 Jul 2001 07:00:15 -0000 1.11
+++ Makefile 27 Jul 2001 17:21:23 -0000 1.12
@@ -12,6 +12,10 @@
SRCS += decode_MMX.s dct64_MMX.s tabinit_MMX.s
OBJS += decode_MMX.o dct64_MMX.o tabinit_MMX.o
endif
+ifeq ($(TARGET_SSE),yes)
+SRCS += dct64_sse.s
+OBJS += dct64_sse.o
+endif
ifeq ($(TARGET_3DNOW),yes)
SRCS += dct36_3dnow.s dct64_3dnow.s
OBJS += dct36_3dnow.o dct64_3dnow.o
Index: sr1.c
===================================================================
RCS file: /cvsroot/mplayer/main/mp3lib/sr1.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- sr1.c 12 Jul 2001 15:35:52 -0000 1.12
+++ sr1.c 27 Jul 2001 17:21:23 -0000 1.13
@@ -367,6 +367,7 @@
extern void dct64_MMX( void );
extern void dct64_MMX_3dnow( void );
extern void dct64_MMX_3dnowex( void );
+extern void dct64_MMX_sse( void );
void (*dct64_MMX_func)( void );
// Init decoder tables. Call first, once!
@@ -405,8 +406,8 @@
Note: It's ok, Since K8 will have SSE2 support and will much faster
of P4 ;)
*/
-// printf( "mp3lib: Using SSE%s! optimized decore.\n",(_isse>1?"2":""));
- printf( "mp3lib: Using Pentium%s optimized decore.\n",(_i586>1?"-MMX":""));
+ printf( "mp3lib: Using SSE%s! optimized decore.\n",(_isse>1?"2":""));
+// printf( "mp3lib: Using Pentium%s optimized decore.\n",(_i586>1?"-MMX":""));
else
if(_3dnow)
printf( "mp3lib: Using AMD 3dnow%s! optimized decore.\n",(_3dnow>1?"-dsp(k7)":""));
@@ -443,7 +444,7 @@
if(_isse)
{
synth_func=synth_1to1_MMX;
- dct64_MMX_func=dct64_MMX;
+ dct64_MMX_func=dct64_MMX_sse;
}
else
#endif
More information about the MPlayer-cvslog
mailing list