This problem is most likely to occur in the following scenarios:
- On an old version of the Windows operating system that does not support AVX state saving (for example, Windows Vista) if it's used on a computer that supports the AVX instruction set
- If AVX state saving is explicitly disabled in the operating system boot configuration
- In the Windows Preinstall Environment (Windows PE)
Note Windows PE does not support AVX state saving.
This problem has been reported on Microsoft Connect:
If your affected C++ binaries statically link the Visual C++ 2013 C Runtime, you must update your installation of Visual Studio 2013 by installing the 3174417 hotfix and rebuilding and redeploying the affected binaries.
Note This problem does not affect older versions of the Visual C++ C Runtime (Visual C++ 2012 and earlier versions). The problem was fixed before the initial release of the Universal CRT that is used by Visual C++ 2015.
Microsoft Download CenterTo update the statically linked Visual C++ 2013 C Runtime, the 3174417 hotfix is released as a download-only update and isn't distributed through Windows Update. It is available at the Microsoft Download Center website:
Download the package now.
To update the dynamically linked Visual C++ 2013 C Runtime DLLs, an updated redistributable is available. For more information, see the following Microsoft Knowledge Base article:
For more information, see Working with XState Contexton the MSDN website.
The function _set_FMA3_enable(0) is declared in <math.h>, and it's available only when you build for x64. (This problem affects only the x64 libraries.) This causes the math library to revert to using the non-FMA3 implementations.