gcc-3.5 -O2 -march=athlon-mp -msse -DMP
Just saw that the it seems to take the options from the Makefile, I just set them in options (included by Makefile, but the CFLAGS defined there is overwrittem)
;-)
That's why I 'included' my changed EnvLINUX.c (taken from EnvSGI.c) files.
src/EnvLINUX.c
[-]
int
GetNumProcessors()
{
return (2);
}
[-]src/Makefile [-] CDEBUGFLAGS = -O -mcpu=athlon-mp -march=athlon-mp # -mfpmath=sse INCLUDES = -I$(AUX_DIR) -I$(X_DIR)/include/ -I$(LIBGL)/include/ -I$(LIBPNG)/include # Add -DMP to the following line to build a multithreaded viewperf DEFINES = -DXWINDOWS -DSEARCHPATH -DLINUX -DPNG -DMP # edit EnvXXX.c to be your version of Env.c, such as EnvDEC.c ENV_C=EnvLINUX.c CCFLAGS = CFLAGS = $(CCFLAGS) $(CDEBUGFLAGS) $(INCLUDES) $(DEFINES) LIBS = -L$(X_DIR)/lib -Lobjs -L$(AUX_DIR) -L$(TK_DIR) -L$(LIBGL)/lib -L$(LIBPNG) /lib -lvp -lm -lX11 -lXext -laux -lGL -lGLU -lz -lpng -lpthread [-]
Do you see any performance win with GCC-3.5 (auto vectorization) compared to the old -mfpmath=sse?
-Dieter
------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
