mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-21 05:10:53 +00:00
Test simd math functions for float4 values
beginning implementation of float4 simd functions for x64 and neon
This commit is contained in:
parent
a7d92c344d
commit
6406ca1832
8 changed files with 305 additions and 389 deletions
|
|
@ -26,12 +26,8 @@
|
|||
|
||||
#include "math/mMath.h"
|
||||
|
||||
|
||||
extern void mInstallLibrary_SSE2();
|
||||
extern void mInstallLibrary_SSE41();
|
||||
extern void mInstallLibrary_AVX2();
|
||||
extern void mInstallLibrary_C();
|
||||
extern void mInstallLibrary_ASM();
|
||||
extern void mInstallLibrary_CPU();
|
||||
|
||||
//--------------------------------------
|
||||
DefineEngineStringlyVariadicFunction( mathInit, void, 1, 10, "( ... )"
|
||||
|
|
@ -103,17 +99,8 @@ void Math::init(U32 properties)
|
|||
|
||||
if (properties & CPU_PROP_SSE)
|
||||
{
|
||||
Con::printf(" Installing SSE extensions");
|
||||
if (properties & CPU_PROP_SSE2)
|
||||
mInstallLibrary_SSE2();
|
||||
if(properties & CPU_PROP_SSE4_1)
|
||||
mInstallLibrary_SSE41();
|
||||
}
|
||||
|
||||
if (properties & CPU_PROP_AVX2)
|
||||
{
|
||||
Con::printf(" Installing AVX2 extensions");
|
||||
mInstallLibrary_AVX2();
|
||||
Con::printf(" Installing extensions");
|
||||
mInstallLibrary_CPU();
|
||||
}
|
||||
|
||||
Con::printf(" ");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue