ridiculousfish / libdivide

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

Inline sse2 #40

Closed ghost closed 6 years ago

ghost commented 6 years ago

Remove the Cmake check for SSE2 and instead uses inline predefined constants.

ghost commented 6 years ago

I've changed it to use LIBDIVIDE_USE_SSE2 (i agree that use of __SSE2__ is somewhat wrong if it will be used by some future MSVC version)

kimwalisch commented 6 years ago

This pull request needs to be reworked, see discussion https://github.com/ridiculousfish/libdivide/issues/39.

We wait for more feedback to decide how to proceed.