diff options
Diffstat (limited to 'indra/llmath')
-rw-r--r-- | indra/llmath/llv4math.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/indra/llmath/llv4math.h b/indra/llmath/llv4math.h index f064b39947..65d3aa5b71 100644 --- a/indra/llmath/llv4math.h +++ b/indra/llmath/llv4math.h @@ -1,5 +1,5 @@ /** - * @file llviewerjointmesh.cpp + * @file llv4math.h * @brief LLV4* class header file - vector processor enabled math * * Copyright (c) 2007-$CurrentYear$, Linden Research, Inc. @@ -65,10 +65,18 @@ typedef float V4F32 __attribute__((vector_size(16))); //----------------------------------------------------------------------------- //----------------------------------------------------------------------------- +<<<<<<< .mine +// Only VS2005 supports the _M_IX86_FP macro to indicate SSE compilation +// enabled. We assume that if you are using Visual Studio, and you include +// this file, you want SSE/vectorization code. +//#if LL_MSVC && _M_IX86_FP +#if LL_MSVC +======= // Only vectorize if the entire Windows build uses SSE. // _M_IX86_FP is set when SSE code generation is turned on, and I have // confirmed this in VS2003, VS2003 SP1, and VS2005. JC #if LL_MSVC && _M_IX86_FP +>>>>>>> .r65110 #define LL_VECTORIZE 1 |