From 8de0e8ca3088df4c84b68ee484ffa89dc10a8667 Mon Sep 17 00:00:00 2001 From: Isaac Marovitz Date: Mon, 3 Mar 2025 09:12:21 +0000 Subject: [PATCH] Inital add SIMD-E Signed-off-by: Isaac Marovitz --- .gitmodules | 3 +++ XenonRecomp/pch.h | 5 ++++- XenonUtils/CMakeLists.txt | 3 ++- thirdparty/simde | 1 + 4 files changed, 10 insertions(+), 2 deletions(-) create mode 160000 thirdparty/simde diff --git a/.gitmodules b/.gitmodules index d12d6a2..271d969 100644 --- a/.gitmodules +++ b/.gitmodules @@ -13,3 +13,6 @@ [submodule "thirdparty/tiny-AES-c"] path = thirdparty/tiny-AES-c url = https://github.com/kokke/tiny-AES-c.git +[submodule "thirdparty/simde"] + path = thirdparty/simde + url = https://github.com/simd-everywhere/simde-no-tests.git diff --git a/XenonRecomp/pch.h b/XenonRecomp/pch.h index 02e53d9..aaf2e47 100644 --- a/XenonRecomp/pch.h +++ b/XenonRecomp/pch.h @@ -16,4 +16,7 @@ #include #include #include -#include + +# define SIMDE_ENABLE_NATIVE_ALIASES + +#include diff --git a/XenonUtils/CMakeLists.txt b/XenonUtils/CMakeLists.txt index b8ca66f..1807323 100644 --- a/XenonUtils/CMakeLists.txt +++ b/XenonUtils/CMakeLists.txt @@ -17,8 +17,9 @@ target_compile_definitions(XenonUtils ) target_include_directories(XenonUtils - PUBLIC + PUBLIC . + "${THIRDPARTY_ROOT}/simde" PRIVATE "${THIRDPARTY_ROOT}/libmspack/libmspack/mspack" "${THIRDPARTY_ROOT}/tiny-AES-c" diff --git a/thirdparty/simde b/thirdparty/simde new file mode 160000 index 0000000..a532a12 --- /dev/null +++ b/thirdparty/simde @@ -0,0 +1 @@ +Subproject commit a532a12ca9bbdc5e6547eb602e6256b71a5377d4