Mercurial > mplayer.hg
diff mp3lib/Makefile @ 9002:60d144a16088
An altivec-optimized DCT64 for mp3lib
(partially, it seems roughly three times as fast as
the C code according to quick-n-dirty gprof tests)
This one is bit-perfect.
patch by Romain Dolbeau <dolbeau@irisa.fr>
author | arpi |
---|---|
date | Sat, 18 Jan 2003 19:28:53 +0000 |
parents | 60fe896e437c |
children | 5ba896a38d75 |
line wrap: on
line diff
--- a/mp3lib/Makefile Sat Jan 18 19:28:29 2003 +0000 +++ b/mp3lib/Makefile Sat Jan 18 19:28:53 2003 +0000 @@ -22,6 +22,13 @@ SRCS += dct36_k7.s dct64_k7.c OBJS += dct36_k7.o dct64_k7.o endif +ifeq ($(TARGET_ARCH_POWERPC),yes) +ifeq ($(TARGET_ALTIVEC),yes) +SRCS += dct64_altivec.c +OBJS += dct64_altivec.o +CFLAGS += -faltivec +endif +endif .SUFFIXES: .c .o