[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

i586 opt for mpg123



turn on pentium optimizations for mpg123 decoding.  noticeable improvement
for me.  the code will still run on i386 as far as i can tell, but i had
trouble testing that hypothesis.


--- patch-Makefile.orig	Mon May 26 00:26:39 2003
+++ patch-Makefile	Mon May 26 00:29:32 2003
@@ -24,8 +24,8 @@
  		mpg123-make
 +
 +.if ${MACHINE_ARCH} == "i386"
-+ARCHOPTS=	-DROT_I386 -DI386_ASSEM
-+ARCHOBJS=	decode_i386.o dct64_i386.o
++ARCHOPTS=	-DROT_I386 -DI386_ASSEM -DPENTIUM_OPT
++ARCHOBJS=	decode_i386.o decode_i586.o dct64_i386.o
 +.else
 +ARCHOPTS=
 +ARCHOBJS=	decode.o dct64.o



--
"I read a funny story about how the Republicans freed the slaves.
The Republicans are the ones who created slavery by law in the
1600's.  Abraham Lincoln freed the slaves and he was not a
Republican."
      - M. Barry, Mayor of Washington, DC