mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-10 17:30:12 +00:00
fixed issue, double precision doesn't compile with SSE
This commit is contained in:
parent
14171b1c05
commit
0aff20fc94
@ -207,7 +207,8 @@ inline void dSetValue1 (btScalar *dest, int size, btScalar val)
|
||||
dAASSERT (dest && size >= 0);
|
||||
int n_mod4 = size & 3;
|
||||
int n4 = size - n_mod4;
|
||||
#ifdef __USE_SSE__
|
||||
/*#ifdef __USE_SSE__
|
||||
//it is not supported on double precision, todo...
|
||||
if(IS_ALIGNED_16(dest)){
|
||||
__m128 xmm0 = _mm_set_ps1(val);
|
||||
for (int i=0; i<n4; i+=4)
|
||||
@ -216,6 +217,8 @@ inline void dSetValue1 (btScalar *dest, int size, btScalar val)
|
||||
}
|
||||
}else
|
||||
#endif
|
||||
*/
|
||||
|
||||
{
|
||||
for (int i=0; i<n4; i+=4) // Unrolled Loop
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user