From cb500d5783f74afdd812ee67fb2761bc1337bbb2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bla=C5=BE=20Toma=C5=BEi=C4=8D?= Date: Mon, 25 Oct 2021 11:49:11 +0200 Subject: [PATCH] Don't use fast math Without fast math we get the same output for the same input on all the platforms and architectures. --- crnlib/Makefile | 2 +- crnlib/crnlib.2010.vcxproj | 2 -- crunch/crunch.2010.vcxproj | 1 - example1/example1.2010.vcxproj | 2 -- example2/example2.2010.vcxproj | 2 -- example3/example3.2010.vcxproj | 2 -- 6 files changed, 1 insertion(+), 10 deletions(-) diff --git a/crnlib/Makefile b/crnlib/Makefile index 9a9de187..30991e7c 100644 --- a/crnlib/Makefile +++ b/crnlib/Makefile @@ -1,4 +1,4 @@ -COMPILE_OPTIONS = -O3 -fomit-frame-pointer -ffast-math -fno-math-errno -g -fno-strict-aliasing -Wall -Wno-unused-value -Wno-unused -march=core2 +COMPILE_OPTIONS = -O3 -fomit-frame-pointer -fno-math-errno -g -fno-strict-aliasing -Wall -Wno-unused-value -Wno-unused -march=core2 LINKER_OPTIONS = -lpthread -g OBJECTS = \ diff --git a/crnlib/crnlib.2010.vcxproj b/crnlib/crnlib.2010.vcxproj index ec5d528f..72cc2b53 100644 --- a/crnlib/crnlib.2010.vcxproj +++ b/crnlib/crnlib.2010.vcxproj @@ -202,7 +202,6 @@ WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions) MultiThreaded false - Fast false Use crn_core.h @@ -287,7 +286,6 @@ WIN32;NDEBUG;_LIB;%(PreprocessorDefinitions) MultiThreadedDLL false - Fast false Use crn_core.h diff --git a/crunch/crunch.2010.vcxproj b/crunch/crunch.2010.vcxproj index 45c92b71..2df33aa6 100644 --- a/crunch/crunch.2010.vcxproj +++ b/crunch/crunch.2010.vcxproj @@ -168,7 +168,6 @@ WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions) MultiThreaded false - Fast false diff --git a/example1/example1.2010.vcxproj b/example1/example1.2010.vcxproj index f0db5440..4df68bf4 100644 --- a/example1/example1.2010.vcxproj +++ b/example1/example1.2010.vcxproj @@ -237,7 +237,6 @@ MultiThreaded false - Fast false @@ -364,7 +363,6 @@ MultiThreadedDLL false - Fast false diff --git a/example2/example2.2010.vcxproj b/example2/example2.2010.vcxproj index c0696d03..2e8ddd60 100644 --- a/example2/example2.2010.vcxproj +++ b/example2/example2.2010.vcxproj @@ -234,7 +234,6 @@ MultiThreaded false - Fast false @@ -357,7 +356,6 @@ MultiThreadedDLL false - Fast false diff --git a/example3/example3.2010.vcxproj b/example3/example3.2010.vcxproj index 4af9961c..d7762bc2 100644 --- a/example3/example3.2010.vcxproj +++ b/example3/example3.2010.vcxproj @@ -237,7 +237,6 @@ MultiThreaded false - Fast false @@ -364,7 +363,6 @@ MultiThreadedDLL false - Fast false