Various functions to test loop unrolling , pipelining and assebly optimisations.
- From the repository root, run
.\vendor\premake\premake5.exe vs<version>
- Open the solution file
Agner Fog's Optimisation Guide.sln
with Visual Studio - Select
Build -> Build Solution
or pressF7
- Run
bin/Release-windows-x86_64/Addition and Substraction/Addition and Substraction.exe <arrays size> <# of repetitions> <unroll factor> <test>
(WIP: not working yet with Assembly)
- From the repository root, run
.\vendor\premake\premake5.exe cmake
- Open the solution file
Agner Fog's Optimisation Guide.sln
with Visual Studio - Select
Build -> Build Solution
or pressF7
- Run
bin/Release-windows-x86_64/Addition and Substraction/Addition and Substraction.exe <arrays size> <# of repetitions> <unroll factor> <test>