From: havoc Date: Sat, 2 Apr 2011 04:38:13 +0000 (+0000) Subject: enable SSE2 instructions when compiling dpsoftrast.c X-Git-Tag: xonotic-v0.5.0~325 X-Git-Url: http://git.xonotic.org/?a=commitdiff_plain;h=82a51305fed754673ffc8ddcf7005d13165a3b76;p=xonotic%2Fdarkplaces.git enable SSE2 instructions when compiling dpsoftrast.c git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11012 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=a04f8c43ccde26a9003c7ea6046df89216e889cb --- diff --git a/makefile.inc b/makefile.inc index c81dcaa1..32052b4b 100644 --- a/makefile.inc +++ b/makefile.inc @@ -195,6 +195,7 @@ CFLAGS_RELEASE_PROFILE=-fbranch-probabilities CFLAGS_SDL=$(SDLCONFIG_CFLAGS) CFLAGS_SSE=-msse +CFLAGS_SSE2=-msse2 OPTIM_DEBUG=$(CPUOPTIMIZATIONS) #OPTIM_RELEASE=-O2 -fno-strict-aliasing -ffast-math -funroll-loops $(CPUOPTIMIZATIONS) @@ -533,6 +534,10 @@ mod_skeletal_animatevertices_sse.o: mod_skeletal_animatevertices_sse.c $(CHECKLEVEL2) $(DO_CC) $(CFLAGS_SSE) +dpsoftrast.o: dpsoftrast.c + $(CHECKLEVEL2) + $(DO_CC) $(CFLAGS_SSE2) + darkplaces.o: %.o : %.rc $(CHECKLEVEL2) $(WINDRES) -o $@ $<