Displaying 1 result from an estimated 1 matches for "29f185b".
Did you mean:
294585b
2015 Mar 21
0
use xmm intrinsics for lrintf() with mingw-w64
...float2int(float value)
+ {
+ return _mm_cvtss_si32(_mm_load_ss(&value));
+ }
+
+#elif (HAVE_LRINTF)
/* These defines enable functionality introduced with the 1999 ISO C
** standard. They must be defined before the inclusion of math.h to
index 1441b97..29f185b 100644
--- a/src/opusfile.c
+++ b/src/opusfile.c
@@ -25,7 +25,9 @@
#include <limits.h>
#include <string.h>
#include <math.h>
-
+#if (defined(__GNUC__) && defined(_WIN64))
+#include <xmmintrin.h>
+#endif
#include "opusfile.h"
/*This implementation is l...