diff --git a/Engine/source/math/mMathSSE.cpp b/Engine/source/math/mMathSSE.cpp index 28194c51f..51fcc8a0c 100644 --- a/Engine/source/math/mMathSSE.cpp +++ b/Engine/source/math/mMathSSE.cpp @@ -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) diff --git a/Engine/source/ts/arch/tsMeshIntrinsics.arch.h b/Engine/source/ts/arch/tsMeshIntrinsics.arch.h index f6fe7b2c7..f859d51ac 100644 --- a/Engine/source/ts/arch/tsMeshIntrinsics.arch.h +++ b/Engine/source/ts/arch/tsMeshIntrinsics.arch.h @@ -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); # diff --git a/Engine/source/ts/arch/tsMeshIntrinsics.sse.cpp b/Engine/source/ts/arch/tsMeshIntrinsics.sse.cpp index 0a68353c4..bfe5c3cff 100644 --- a/Engine/source/ts/arch/tsMeshIntrinsics.sse.cpp +++ b/Engine/source/ts/arch/tsMeshIntrinsics.sse.cpp @@ -21,7 +21,7 @@ //----------------------------------------------------------------------------- #include "ts/tsMesh.h" -#if defined(TORQUE_CPU_X86) +#if (defined( TORQUE_CPU_X86 ) || defined( TORQUE_CPU_X64 )) #include "ts/tsMeshIntrinsics.h" #include diff --git a/Engine/source/ts/arch/tsMeshIntrinsics.sse4.cpp b/Engine/source/ts/arch/tsMeshIntrinsics.sse4.cpp index 76dac3fd2..5757a6d62 100644 --- a/Engine/source/ts/arch/tsMeshIntrinsics.sse4.cpp +++ b/Engine/source/ts/arch/tsMeshIntrinsics.sse4.cpp @@ -21,7 +21,7 @@ //----------------------------------------------------------------------------- #include "ts/tsMesh.h" -#if defined(TORQUE_CPU_X86) && (_MSC_VER >= 1500) +#if (defined(TORQUE_CPU_X86) || defined( TORQUE_CPU_X64 )) && (_MSC_VER >= 1500) #include "ts/tsMeshIntrinsics.h" #include diff --git a/Engine/source/ts/tsMeshIntrinsics.cpp b/Engine/source/ts/tsMeshIntrinsics.cpp index e11035dc7..a7d2011bb 100644 --- a/Engine/source/ts/tsMeshIntrinsics.cpp +++ b/Engine/source/ts/tsMeshIntrinsics.cpp @@ -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