@@ -203,7 +203,7 @@ extern "C"
void SSE_MatrixF_x_MatrixF_Aligned(const F32 *matA, const F32 *matB, F32 *result);
}
-#elif defined( TORQUE_COMPILER_GCC ) && defined( TORQUE_CPU_X86 )
+#elif defined( TORQUE_COMPILER_GCC ) && (defined( TORQUE_CPU_X86 ) || defined( TORQUE_CPU_X64 ))
#define ADD_SSE_FN
void SSE_MatrixF_x_MatrixF(const F32 *matA, const F32 *matB, F32 *result)
@@ -23,7 +23,7 @@
#ifndef _TSMESHINTRINSICS_ARCH_H_
#define _TSMESHINTRINSICS_ARCH_H_
-#if defined(TORQUE_CPU_X86)
+#if (defined( TORQUE_CPU_X86 ) || defined( TORQUE_CPU_X64 ))
# // x86 CPU family implementations
extern void zero_vert_normal_bulk_SSE(const dsize_t count, U8 * __restrict const outPtr, const dsize_t outStride);
#
@@ -21,7 +21,7 @@
//-----------------------------------------------------------------------------
#include "ts/tsMesh.h"
#include "ts/tsMeshIntrinsics.h"
#include <xmmintrin.h>
-#if defined(TORQUE_CPU_X86) && (_MSC_VER >= 1500)
+#if (defined(TORQUE_CPU_X86) || defined( TORQUE_CPU_X64 )) && (_MSC_VER >= 1500)
#include <smmintrin.h>
@@ -65,7 +65,7 @@ MODULE_BEGIN( TSMeshIntrinsics )
// Find the best implementation for the current CPU
if(Platform::SystemInfo.processor.properties & CPU_PROP_SSE)
{
- #if defined(TORQUE_CPU_X86)
+ #if (defined( TORQUE_CPU_X86 ) || defined( TORQUE_CPU_X64 ))
zero_vert_normal_bulk = zero_vert_normal_bulk_SSE;
#endif