tzaeschke/phtree-cpp

Improve MSVC intrinsics

Closed this issue · 1 comments

For MSVC we currently use bit scan forward/backward for lzcnt/tzcnt.
We should use lzcnt/tzcnt if available.

These are not supported by MSVC. Also, it turns out that MSVC has no options for optimizing for any modern CPU instructions (e.g. nothing similar to gcc's -mavx, mbmi2, -march=haswell, ....)