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
This commit is contained in:
@@ -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!)
|
||||
|
||||
Reference in New Issue
Block a user