SSE2: Add FIXME_SSE2 notes

--HG--
branch : sse2
hg/feature/sse2
kaetemi 11 years ago
parent 5f54f75802
commit e8852d630e

@ -83,7 +83,7 @@ public:
);
// a vertex
struct CRGBAVertex
struct CRGBAVertex // FIXME_SSE2
{
#if USE_SSE2
float X, Y, Z;

@ -53,6 +53,7 @@ class CPlane;
* \author Nevrax France
* \date 2000
*/
NL_ALIGN(16)
class CMatrix
{
public:
@ -363,6 +364,10 @@ private:
float Scale33;
uint32 StateBit; // BitVector. 0<=>identity.
#if USE_SSE2
void setMulMatrixSSE2(const CMatrix &m1, const CMatrix &m2);
#endif
// Methods For inversion.
bool fastInvert33(CMatrix &ret) const;
bool slowInvert33(CMatrix &ret) const;

@ -36,11 +36,16 @@ class IStream;
* \author Nevrax France
* \date 2000
*/
// NL_ALIGN(16) // FIXME_SSE2
class CVector
{
public: // Attributes.
float x,y,z;
/*#ifdef USE_SSE2 // FIXME_SSE2
float w; // Padding
#endif*/
public: // const.
/// Null vector (0,0,0).
static const CVector Null;

@ -494,7 +494,7 @@ void CMeshMRMGeom::applySkinWithTangentSpace(CLod &lod, const CSkeletonModel *sk
On a P4-2.4Ghz, for 40000 vertices skinned, both no precaching and asm
saves 27% of execution time in the applyRawSkinNormal*() loop (ie 1 ms)
*/
#if defined(NL_OS_WINDOWS) && !defined(NL_NO_ASM) &&!defined(USE_SSE2)
#if defined(NL_OS_WINDOWS) && !defined(NL_NO_ASM) &&!defined(USE_SSE2) // FIXME_SSE2
//#define NL3D_RAWSKIN_PRECACHE
#define NL3D_RAWSKIN_ASM
#endif

@ -43,7 +43,7 @@
On a P4-2.4Ghz, for 40000 vertices skinned, both no precaching and asm
saves 27% of execution time in the applyRawSkinNormal*() loop (ie 1 ms)
*/
#if defined(NL_OS_WINDOWS) && !defined(NL_NO_ASM) &&!defined(USE_SSE2)
#if defined(NL_OS_WINDOWS) && !defined(NL_NO_ASM) &&!defined(USE_SSE2) // FIXME_SSE2
//#define NL3D_RAWSKIN_PRECACHE
#define NL3D_RAWSKIN_ASM
#endif

Loading…
Cancel
Save