From 0aff20fc9481698d329503106f34ef490416dbc1 Mon Sep 17 00:00:00 2001 From: ejcoumans Date: Fri, 12 Oct 2007 08:23:43 +0000 Subject: [PATCH] fixed issue, double precision doesn't compile with SSE --- Extras/quickstep/OdeMacros.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Extras/quickstep/OdeMacros.h b/Extras/quickstep/OdeMacros.h index 430679010..da2518e8b 100644 --- a/Extras/quickstep/OdeMacros.h +++ b/Extras/quickstep/OdeMacros.h @@ -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