From 3de65556f22e89f3fc4549cc09cdd6ceeb88dc2e Mon Sep 17 00:00:00 2001 From: "Raine M. Ekman" Date: Sun, 6 Sep 2015 12:28:26 +0300 Subject: [PATCH] Make the Win32 version use SSE math, with the performance benefits it brings. Denormal protection alone should be worth it. --- cmake/build_mingw32.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/build_mingw32.sh b/cmake/build_mingw32.sh index b14ac3e8b..6a7094118 100755 --- a/cmake/build_mingw32.sh +++ b/cmake/build_mingw32.sh @@ -3,7 +3,7 @@ MINGW=/opt/mingw32 export PATH=$PATH:$MINGW/bin #export CFLAGS="-march=pentium3 -mtune=generic -mpreferred-stack-boundary=5 -fno-tree-vectorize" -export CFLAGS="-march=pentium3 -mtune=generic -mpreferred-stack-boundary=5" +export CFLAGS="-march=pentium3 -mtune=generic -mpreferred-stack-boundary=5 -mfpmath=sse" export CXXFLAGS="$CFLAGS" if [ "$1" = "-qt5" ] ; then