search for: _mm_load_ss

Displaying 9 results from an estimated 9 matches for "_mm_load_ss".

2014 Nov 06
2
[PATCH] float_cast: Fix MSVC ARM build
...64) || defined (_WIN64)) +#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN64) || defined (_WIN64)) && !defined(_M_ARM) #include <xmmintrin.h> __inline long int float2int(float value) { return _mm_cvtss_si32(_mm_load_ss(&value)); } -#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN32) || defined (_WIN32)) +#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN32) || defined (_WIN32)) && !defined(_M_ARM) #include <math.h>...
2014 Nov 06
2
[PATCH] float_cast: Fix MSVC ARM build
...R) && _MSC_VER >= 1400) && (defined (WIN64) || >> defined (_WIN64)) && !defined(_M_ARM) >> #include <xmmintrin.h> >> >> __inline long int float2int(float value) >> { >> return _mm_cvtss_si32(_mm_load_ss(&value)); >> } >> -#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN32) || >> defined (_WIN32)) >> +#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN32) || >> defined (_WIN32)) && !defi...
2010 Oct 16
1
WIN64 issue
...2:09:38 2010 @@ -72,8 +72,14 @@ #include <math.h> #define float2int(x) lrint(x) -#elif (defined (WIN32) || defined (_WIN32)) +#elif (defined (WIN64) || defined (_WIN64)) + #include <xmmintrin.h> + __inline long int float2int(float value) + { + return _mm_cvtss_si32(_mm_load_ss(&value)); + } +#elif (defined (WIN32) || defined (_WIN32)) #include <math.h> /* Win32 doesn't seem to have these functions. BTW, I have also compiled CELT for 64-bit Mac OS X with no problems. Cheers, John Ridges
2015 Mar 21
0
use xmm intrinsics for lrintf() with mingw-w64
..._cast.h +++ b/celt/float_cast.h @@ -61,7 +61,14 @@ ** the config.h file. */ -#if (HAVE_LRINTF) +#if (defined(__GNUC__) && defined(_WIN64)) + #include <xmmintrin.h> + static __inline long int 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...
2014 Nov 06
2
[PATCH] float_cast: Fix MSVC ARM build
...(WIN64) || > >>> defined (_WIN64)) && !defined(_M_ARM) > >>> #include <xmmintrin.h> > >>> > >>> __inline long int float2int(float value) > >>> { > >>> return _mm_cvtss_si32(_mm_load_ss(&value)); > >>> } > >>> -#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN32) || > >>> defined (_WIN32)) > >>> +#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN32) || > &g...
2014 Nov 07
0
opus Digest, Vol 70, Issue 3
...N64) || defined (_WIN64)) +#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN64) || defined (_WIN64)) && !defined(_M_ARM) #include <xmmintrin.h> __inline long int float2int(float value) { return _mm_cvtss_si32(_mm_load_ss(&value)); } -#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN32) || defined (_WIN32)) +#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN32) || defined (_WIN32)) && !defined(_M_ARM) #include <math.h>...
2014 Nov 06
0
[PATCH] float_cast: Fix MSVC ARM build
...> +#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN64) || defined (_WIN64)) && !defined(_M_ARM) > #include <xmmintrin.h> > > __inline long int float2int(float value) > { > return _mm_cvtss_si32(_mm_load_ss(&value)); > } > -#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN32) || defined (_WIN32)) > +#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN32) || defined (_WIN32)) && !defined(_M_ARM) > #incl...
2014 Nov 06
0
[PATCH] float_cast: Fix MSVC ARM build
...gt;= 1400) && (defined (WIN64) || >>> defined (_WIN64)) && !defined(_M_ARM) >>> #include <xmmintrin.h> >>> >>> __inline long int float2int(float value) >>> { >>> return _mm_cvtss_si32(_mm_load_ss(&value)); >>> } >>> -#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN32) || >>> defined (_WIN32)) >>> +#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined (WIN32) || >>> defined (_WIN3...
2014 Nov 06
0
[PATCH] float_cast: Fix MSVC ARM build
...;>> defined (_WIN64)) && !defined(_M_ARM) > >>> #include <xmmintrin.h> > >>> > >>> __inline long int float2int(float value) > >>> { > >>> return _mm_cvtss_si32(_mm_load_ss(&value)); > >>> } > >>> -#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (defined > (WIN32) || > >>> defined (_WIN32)) > >>> +#elif (defined(_MSC_VER) && _MSC_VER >= 1400) && (d...