Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorLazydodo <github@lazydodo.com>2019-08-01 05:18:44 +0300
committerLazydodo <github@lazydodo.com>2019-08-01 05:18:44 +0300
commitfc982c102bb7af6db9c30463f961ead88b2e4356 (patch)
tree83fdfbb7b19b887f052ebbb94c455bef43a0d743 /source
parent421280a3f7670a0b4aca0d4397823a357708d7fd (diff)
Cleanup: Remove FMA3 Disable for msvc
We no longer build with or support msvc2013, so this hack can be removed. Reviewed By: brecht Differential Revision: https://developer.blender.org/D5298
Diffstat (limited to 'source')
-rw-r--r--source/creator/creator.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index b257564519a..afcde70670a 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -25,9 +25,6 @@
#include <string.h>
#ifdef WIN32
-# if defined(_MSC_VER) && defined(_M_X64)
-# include <math.h> /* needed for _set_FMA3_enable */
-# endif
# include <windows.h>
# include "utfconv.h"
#endif
@@ -237,12 +234,6 @@ int main(int argc,
_putenv_s("OMP_WAIT_POLICY", "PASSIVE");
# endif
- /* FMA3 support in the 2013 CRT is broken on Vista and Windows 7 RTM
- * (fixed in SP1). Just disable it. */
-# if defined(_MSC_VER) && defined(_M_X64)
- _set_FMA3_enable(0);
-# endif
-
/* Win32 Unicode Args */
/* NOTE: cannot use guardedalloc malloc here, as it's not yet initialized
* (it depends on the args passed in, which is what we're getting here!)