ridiculousfish / libdivide

Official git repository for libdivide: optimized integer division
http://libdivide.com
Other
1.09k stars 77 forks source link

Port SSE2 code to AVX2 & AVX512 #47

Closed kimwalisch closed 5 years ago

kimwalisch commented 5 years ago

libdivide now supports SSE2, AVX2 and AVX512 vector division. You can enable libdivide's vector division by defining one of the following macros:

The cmake build system will now also automatically enable the widest vector instruction set supported by your CPU when building the test programs.