From 82a51305fed754673ffc8ddcf7005d13165a3b76 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 2 Apr 2011 04:38:13 +0000 Subject: [PATCH] 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 --- makefile.inc | 5 +++++ 1 file changed, 5 insertions(+) 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 $@ $< -- 2.39.2