ref: c2ed5806aa9376543cae6d211c0c46e5e5b241da
parent: bfc4f5154840d0b3a3d611f65bd460826a8fcaf0
parent: 5c253615d307a6d00cc177da178a9b1c8a2251d3
author: ruil2 <ruil2@cisco.com>
date: Tue Apr 17 09:14:22 EDT 2018
Merge pull request #2915 from sherpya/master call _set_FMA3_enable only on vs 2013 (avx2 bug)
--- a/codec/encoder/core/inc/param_svc.h
+++ b/codec/encoder/core/inc/param_svc.h
@@ -63,7 +63,7 @@
* \return 2 based scaling factor
*/
static inline uint32_t GetLogFactor (float base, float upper) {
-#if defined(_M_X64)
+#if defined(_M_X64) && _MSC_VER == 1800
_set_FMA3_enable(0);
#endif
const double dLog2factor = log10 (1.0 * upper / base) / log10 (2.0);