fix SSE issue with XCode 3
This commit is contained in:
@@ -27,11 +27,17 @@ subject to the following restrictions:
|
||||
|
||||
#ifdef BT_USE_SSE
|
||||
|
||||
const __m128 ATTRIBUTE_ALIGNED16(vOnes) = {1.0f, 1.0f, 1.0f, 1.0f};
|
||||
//const __m128 ATTRIBUTE_ALIGNED16(vOnes) = {1.0f, 1.0f, 1.0f, 1.0f};
|
||||
#define vOnes (_mm_set_ps(1.0f, 1.0f, 1.0f, 1.0f))
|
||||
|
||||
#endif
|
||||
|
||||
#if defined(BT_USE_SSE) || defined(BT_USE_NEON)
|
||||
#if defined(BT_USE_SSE)
|
||||
|
||||
#define vQInv (_mm_set_ps(+0.0f, -0.0f, -0.0f, -0.0f))
|
||||
#define vPPPM (_mm_set_ps(-0.0f, +0.0f, +0.0f, +0.0f))
|
||||
|
||||
#elif defined(BT_USE_NEON)
|
||||
|
||||
const btSimdFloat4 ATTRIBUTE_ALIGNED16(vQInv) = {-0.0f, -0.0f, -0.0f, +0.0f};
|
||||
const btSimdFloat4 ATTRIBUTE_ALIGNED16(vPPPM) = {+0.0f, +0.0f, +0.0f, -0.0f};
|
||||
|
||||
Reference in New Issue
Block a user