mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +00:00
commit
f88975121d
7 changed files with 9 additions and 10 deletions
|
|
@ -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"
|
||||
|
||||
#if defined(TORQUE_CPU_X86)
|
||||
#if (defined( TORQUE_CPU_X86 ) || defined( TORQUE_CPU_X64 ))
|
||||
#include "ts/tsMeshIntrinsics.h"
|
||||
#include <xmmintrin.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -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 <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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue