-
Notifications
You must be signed in to change notification settings - Fork 7
Home
Chuck Walbourn edited this page May 15, 2024
·
7 revisions
This is a repository for the test suite for DirectXMath on GitHub.
- Install git
- Install CMake, Ninja, and MSVC or clang/LLVM for Windows
git clone https://github.com/Microsoft/DirectXMath.git
cd DirectXMath
git clone https://github.com/walbourn/directxmathtest.git Tests
git clone https://github.com/Microsoft/DirectXMath.wiki.git wiki
CTest is supported
cd DirectXMath
cmake --preset=x64-Debug
cmake build out\build\x64-Debug
ctest --preset=x64-Debug
This is the main DirectXMath test suite which is a console application.
All configs use /fp:fast
.
All Release configs use /Ox
.
-
Debug/Release: x86 builds with
/arch:SSE2
which is the default for x64 -
NI Debug/NI Release: Same as Debug/Release but with
_XM_NO_INTRINSICS_
set -
x87 Debug/X87 Release: Same as NI Debug/NI Release with
/arch:IA32
set. Note there is for the x86 platform only. - SSE3 Debug/SSE3 Release: Same as Debug/Release but with SSE3 optimizations.
- SSE4 Debug/SSE4 Release: Same as Debug/Release but with SSE4.1 optimizations.
-
AVX Debug/AVX Release: Same as Debug/Release but with
/arch:AVX
which includes SSE3, SSE4.1, and AVX optimizations. -
AVX2 Debug/AVX2 Release: Same as Debug/Release but with
/arch:AVX2
which includes SSE3, SSE4.1, AVX, and F16C optimizations.
Testers for the Instruction Set extensions for guarded codepaths
Tester for Spherical Harmonics helpers
Tester for XDSP Digital Signal Processing helper
All content and source code for this package are subject to the terms of the MIT License.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.