further sse simd additions

avx2 float3 added
added normalize_magnitude
added divide fast to float3 may copy to float4

move static spheremesh to drawSphere (initialize on first use) so platform has a chance to load the math backend
This commit is contained in:
marauder2k7 2026-02-26 21:11:31 +00:00
parent 2559145c06
commit 18d0aa0418
16 changed files with 337 additions and 77 deletions

View file

@ -28,6 +28,7 @@ void math_backend::install_from_cpu_flags(uint32_t cpu_flags)
#if defined(__x86_64__) || defined(_M_X64) || defined(_M_IX86)
case backend::avx2:
float4::dispatch::install_avx2();
float3::dispatch::install_avx2();
break;
case backend::avx: