]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
raise system requirements to Pentium3 so that we can force the math
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 14 Jun 2014 18:48:02 +0000 (18:48 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 28 Jun 2014 19:12:31 +0000 (21:12 +0200)
pipeline to SSE, this fixes lightmap alignment issues in several
usermade quake maps (where the x87 increased precision was resulting in
different rounding than in the map compiler)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12088 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=27508c2bb7671a9ddc486c4f379bae0d913a5836

makefile

index e388780648e90bdc3db2aee8c8524ff3b5a0e77a..76e440ac2ce13f0f7e4afa7ea76f394c3549e63f 100644 (file)
--- a/makefile
+++ b/makefile
@@ -230,7 +230,7 @@ ifeq ($(WIN32RELEASE), 1)
 #      TARGET=i686-pc-mingw32
 #      CC=$(TARGET)-g++
 #      WINDRES=$(TARGET)-windres
-       CPUOPTIMIZATIONS=-march=i686 -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math
+       CPUOPTIMIZATIONS=-march=pentium3 -fpmath=sse -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math
 #       CPUOPTIMIZATIONS+=-DUSE_WSPIAPI_H -DSUPPORTIPV6
        LDFLAGS_WINCOMMON=-Wl,--large-address-aware
 else