Closed GoogleCodeExporter closed 8 years ago
I found it just not support some Intrinsics on Visual Studio 2005. so I add some Intrinsics on btScaler.h to let it work. #define BT_USE_SSE_IN_API #endif //BT_USE_SSE #include <emmintrin.h> #if (_MSC_VER == 1400) inline float _mm_cvtss_f32(__m128 A) { return A.m128_f32[0]; } inline __m128 _mm_castpd_ps(__m128d PD) { union { __m128 ps; __m128d pd; } c; c.pd = PD; return c.ps; } inline __m128d _mm_castps_pd(__m128 PS) { union { __m128 ps; __m128d pd; } c; c.ps = PS; return c.pd; } inline __m128i _mm_castps_si128(__m128 PS) { union { __m128 ps; __m128i pi; } c; c.ps = PS; return c.pi; } inline __m128 _mm_castsi128_ps(__m128i PI) { union { __m128 ps; __m128i pi; } c; c.pi = PI; return c.ps; } #endif
Original issue reported on code.google.com by w0w71...@gmail.com on 20 Feb 2013 at 3:12
w0w71...@gmail.com
trunk should build with MSVC 2005 https://code.google.com/p/bullet/source/detail?r=2685
Original comment by erwin.coumans on 16 Oct 2013 at 9:27
erwin.coumans
Original issue reported on code.google.com by
w0w71...@gmail.com
on 20 Feb 2013 at 3:12