Commit graph

9 commits

Author SHA1 Message Date
marauder2k7
88ffdd01cd fix linux build 2026-03-06 09:41:35 +00:00
marauder2k7
add7f2a5d7 more intrinsics
add transform plane
added first batch function for mulp to intrinsics
2026-03-05 18:55:51 +00:00
marauder2k7
ac6ec05690 fix drift turns out we require the dot product to be in all rows 2026-03-05 18:55:50 +00:00
marauder2k7
8c1acbd1da add normal safety
wrap safety around normal checks, this was done on the scalar math may as well do it here just in case.

Ad the impl.inl files to libraries so they can actually be found.
2026-03-05 18:55:49 +00:00
marauder2k7
caeaedde52 add inverse to
fix tests by adding an explicit inverse to function
copy 3rd row into dst it seems original was not touching this at all.
2026-03-05 18:55:41 +00:00
marauder2k7
bc3145bc55 matrix functions
most matrix functions are converted over, no benefit to converting over the project/ortho because they would be scalar anyway but may need to move them regardless.
2026-03-05 18:55:36 +00:00
marauder2k7
67f12311d4 ISA backends float3 and float4 - cleanup history squash
working for both neon32 and neon64

Update math_backend.cpp

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

all float3 and float4 functions and isas

completed all options of float3 and float4 functions in isas and math_c
neon still to be done but that will be on mac.

Update math_backend.cpp

mac isa neon update

added float3
restructured the classes to look more like the final version of the x86 classes

linux required changes

Update build-macos-clang.yml

Update build-macos-clang.yml

Revert "Update build-macos-clang.yml"

This reverts commit 29dfc567f4.

Revert "Update build-macos-clang.yml"

This reverts commit 2abad2b4ca.

Update CMakeLists.txt

fix macs stupid build

remove god awful rolling average from frame time tracker....

use intrinsic headers instead

each isa implementation now uses a header for that isa's intrinsic functions these are then used in the impl files. This will make it easier for matrix functions when those are implemented.

fixed comment saying 256 when it should be 512 for avx512

consolidated initializers for function tables

Update neon_intrinsics.h

fixes for some neon intrinsics no idea if this is the best way to do these but they work at least

v_cross is especially messy at the moment we basically just do it as a c math function need to look into getting this done correctly
2026-03-05 18:55:34 +00:00
marauder2k7
9ebcee420f moar changes
mac implementation had _mm_div (x86 intrinsic)
2026-03-05 18:55:32 +00:00
marauder2k7
e9fdffc2dd math backend setup
setup libraries for different simd isa's
add float4 functions for c sse2 and avx2 (placeholder file for neon to be implemented on mac)
2026-03-05 18:55:29 +00:00