Test simd math functions for float4 values

beginning implementation of float4 simd functions for x64 and neon
This commit is contained in:
marauder2k7 2026-02-25 15:06:04 +00:00
parent a7d92c344d
commit 6406ca1832
8 changed files with 305 additions and 389 deletions

View file

@ -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(" ");