From: Vadim M. <va...@cu...> - 2007-03-15 09:55:11
|
Marco Antonio Gómez Martín wrote: > Hi, > > I am far from an SSE expert :) > I could see that Nebula implementation used some non-standard aspects, > that are only available in VC++. > However, current version of Nebula _is not using SSE_ (I do not know > the reason), even in Windows. You can check it for example in > mathlib/matrix.h: > > #ifndef __USE_SSE__ > #include "mathlib/_matrix33.h" > #include "mathlib/_matrix44.h" > typedef _matrix33 matrix33; > typedef _matrix44 matrix44; > #else > #include "mathlib/_matrix33_sse.h" > #include "mathlib/_matrix44_sse.h" > typedef _matrix33_sse matrix33; > typedef _matrix44_sse matrix44; > #endif > > where __USE_SSE__ symbol is not defined by default. > > As gcc had problems reading sse code, the patch I sent used the > __USE_SSE__ symbol, and only when defined the sse code was compiled. > > Marco I believe that's by design, if you want SSE you should define __USE_SSE__ for your project (in your .bld file I think). -+ enlight +- |