From 9747fbb25f0320b4f30f3b95f2a1ac39fdaf8f49 Mon Sep 17 00:00:00 2001 From: Christophe Massiot Date: Sat, 6 Nov 1999 21:45:08 +0000 Subject: [PATCH] =?UTF-8?q?Modifications=20de=20Polusque=20depuis=20la=20D?= =?UTF-8?q?R2,=20=EF=BF=BD=20savoir=20:=20-=20virationnement=20de=20la=20s?= =?UTF-8?q?aturation=20;=20-=20optimisation=20MMX=20de=20la=20conversion?= =?UTF-8?q?=20YUV.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --Meuuh --- Makefile | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/Makefile b/Makefile index 4fe0ef2d03..649c645d53 100644 --- a/Makefile +++ b/Makefile @@ -40,15 +40,25 @@ CCFLAGS += -D_REENTRANT CCFLAGS += -D_GNU_SOURCE # Optimizations : don't compile debug versions with them -CCFLAGS += -O3 -CCFLAGS += -ffast-math -funroll-loops -fno-function-cse -fargument-noalias-global +CCFLAGS += -O6 +CCFLAGS += -ffast-math -funroll-loops -fargument-noalias-global #CCFLAGS += -fomit-frame-pointer -s -#CCFLAGS += -malign-double -#CCFLAGS += -march=pentiumpro -#CCFLAGS += -march=pentium -#CCFLAGS += -mcpu=604e -mmultiple -mhard-float -mstring #LCFLAGS += -s +# Platform-specific optimizations +# Optimizations for x86 familiy : +CCFLAGS += -malign-double +CCFLAGS += -march=pentiumpro +#CCFLAGS += -march=pentium + +# MMX support : +CFLAGS += -DHAVE_MMX +assembly_obj = video_decoder_ref/idctmmx.o \ + video_decoder_ref/yuv12-rgb16.o + +#Optimizations for PowerPC : +#CCFLAGS += -mcpu=604e -mmultiple -mhard-float -mstring + # # C compiler flags: dependancies # @@ -194,7 +204,7 @@ FORCE: # Real targets # vlc: $(OBJ) - $(CC) $(LCFLAGS) $(CFLAGS) -o $@ $(OBJ) + $(CC) $(LCFLAGS) $(CFLAGS) -o $@ $(OBJ) $(assembly_obj) Documentation/cflow: $(sources) cflow $(FCFLAGS) $(CFLAGS) $(sources) | $(FFILTER) > $@