Add XSIMD implementation

This commit is contained in:
mancini
2025-08-07 14:30:28 +02:00
parent b7c13be6c0
commit b55f456178
8 changed files with 255 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
#include <catch2/catch_test_macros.hpp>
#include <trigdx/lookup_xsimd.hpp>
#include "test_utils.hpp"
TEST_CASE("sincosf") {
test_sincosf<LookupXSIMDBackend<16384>>(1e-2f);
test_sincosf<LookupXSIMDBackend<32768>>(1e-2f);
}
TEST_CASE("sinf") {
test_sinf<LookupXSIMDBackend<16384>>(1e-2f);
test_sinf<LookupXSIMDBackend<32768>>(1e-2f);
}
TEST_CASE("cosf") {
test_cosf<LookupXSIMDBackend<16384>>(1e-2f);
test_cosf<LookupXSIMDBackend<32768>>(1e-2f);
}