diff options
-rw-r--r-- | celt/float_cast.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/celt/float_cast.h b/celt/float_cast.h index 98b40abc..f218e864 100644 --- a/celt/float_cast.h +++ b/celt/float_cast.h @@ -96,7 +96,7 @@ static OPUS_INLINE opus_int32 float2int(float x) {return _mm_cvt_ss2si(_mm_set_s #include <math.h> #define float2int(x) lrint(x) -#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && defined (_M_X64) +#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined(_M_X64) || (defined(_M_IX86_FP) && _M_IX86_FP >= 1)) #include <xmmintrin.h> __inline long int float2int(float value) |