From a6769f262ff910949a7e1c81cf98e52ddfc2d44a Mon Sep 17 00:00:00 2001 From: James Cook Date: Wed, 11 Jul 2007 21:10:53 +0000 Subject: SL-47720 Crash on startup due to SSE instructions. Disable SSE code generation on Windows build. This prevents global constants from being initialized with SSE instructions. We can use the SSE code on Intel Mac (since they all support SSE) and if we enable SSE compilation for the entire Windows viewer. Reviewed by Kelly. --- indra/newview/llviewerjointmesh_vec.cpp | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'indra/newview/llviewerjointmesh_vec.cpp') diff --git a/indra/newview/llviewerjointmesh_vec.cpp b/indra/newview/llviewerjointmesh_vec.cpp index adc602bdaf..69ddad63fc 100644 --- a/indra/newview/llviewerjointmesh_vec.cpp +++ b/indra/newview/llviewerjointmesh_vec.cpp @@ -1,8 +1,11 @@ /** - * @file llviewerjointmesh.cpp - * @brief LLV4 math class implementation with LLViewerJointMesh class + * @file llviewerjointmesh_vec.cpp + * @brief Compiler-generated vectorized joint skinning code, works well on + * Altivec processors (PowerPC Mac) * - * Copyright (c) 2001-$CurrentYear$, Linden Research, Inc. + * *NOTE: See llv4math.h for notes on SSE/Altivec vector code. + * + * Copyright (c) 2007-$CurrentYear$, Linden Research, Inc. * $License$ */ @@ -19,12 +22,8 @@ #include "llv4matrix3.h" #include "llv4matrix4.h" -// *NOTE: This is the fallback code for vectorized joint mesh skinning. -// For builds that must support non-SSE x86 code (Windows, perhaps Linux) -// SSE code generation should be disabled for this file. -// -// For builds that run on processors that always have SSE (Mac), -// SSE code generation can be enabled. JC +// Generic vectorized code, uses compiler defaults, works well for Altivec +// on PowerPC. static LLV4Matrix4 sJointMat[32]; -- cgit v1.3