summaryrefslogtreecommitdiff
path: root/indra/llmath/llvector4logical.h
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-09-12 18:44:30 -0400
committerOz Linden <oz@lindenlab.com>2012-09-12 18:44:30 -0400
commit3f71d3b41c938fd5d433da6ca1b404586c49c401 (patch)
tree0ec16a8f4a8fed65834a0776097f074073cf0fa4 /indra/llmath/llvector4logical.h
parenta11cc73736b6824e4dc6d0a693bcfb26514b16eb (diff)
parent3a36e3c6a82462b8d01e47707391be168e739b66 (diff)
re-merge changes to disable tcmalloc
Diffstat (limited to 'indra/llmath/llvector4logical.h')
-rw-r--r--indra/llmath/llvector4logical.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llmath/llvector4logical.h b/indra/llmath/llvector4logical.h
index dd66b09d43..c5698f7cea 100644
--- a/indra/llmath/llvector4logical.h
+++ b/indra/llmath/llvector4logical.h
@@ -27,6 +27,7 @@
#ifndef LL_VECTOR4LOGICAL_H
#define LL_VECTOR4LOGICAL_H
+#include "llmemory.h"
////////////////////////////
// LLVector4Logical
@@ -77,6 +78,7 @@ public:
inline LLVector4Logical& invert()
{
static const LL_ALIGN_16(U32 allOnes[4]) = { 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF };
+ ll_assert_aligned(allOnes,16);
mQ = _mm_andnot_ps( mQ, *(LLQuad*)(allOnes) );
return *this;
}