From: havoc Date: Fri, 25 Aug 2006 08:53:39 +0000 (+0000) Subject: changed release optimizations from -O2 -ffast-math -funroll-loops to simply -O2,... X-Git-Tag: xonotic-v0.1.0preview~3823 X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=commitdiff_plain;h=6b2db61da3719cd4cdbd2b8bb60a3922c2705f38;hp=2965b15fe9f10b90420d1d7185e06eacb203d804 changed release optimizations from -O2 -ffast-math -funroll-loops to simply -O2, this produced a 0.3% fps loss in my most extreme testing on x86_64, which does not seem significant, and gcc 4.1.0 was breaking the Nexuiz menu with the -funsafe-math-optimizations option (part of -ffast-math) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6563 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/makefile.inc b/makefile.inc index eca83c29..ccd51aaa 100644 --- a/makefile.inc +++ b/makefile.inc @@ -145,7 +145,10 @@ CFLAGS_RELEASE= CFLAGS_SDL=`$(SDL_CONFIG) --cflags` OPTIM_DEBUG=$(CPUOPTIMIZATIONS) -OPTIM_RELEASE=-O2 -fno-strict-aliasing -ffast-math -funroll-loops $(CPUOPTIMIZATIONS) +#OPTIM_RELEASE=-O2 -fno-strict-aliasing -ffast-math -funroll-loops $(CPUOPTIMIZATIONS) +#OPTIM_RELEASE=-O2 -fno-strict-aliasing -fno-math-errno -fno-trapping-math -ffinite-math-only -fno-signaling-nans -fcx-limited-range -funroll-loops $(CPUOPTIMIZATIONS) +#OPTIM_RELEASE=-O2 -funroll-loops $(CPUOPTIMIZATIONS) +OPTIM_RELEASE=-O2 $(CPUOPTIMIZATIONS) DO_CC=$(CC) $(CFLAGS) -c $< -o $@