Haswell-specific implementation of Select64 routine.
authorDmitry Pleshkov <bort@fb.com>
Thu, 21 Jan 2016 06:23:30 +0000 (22:23 -0800)
committerfacebook-github-bot-4 <folly-bot@fb.com>
Thu, 21 Jan 2016 07:20:24 +0000 (23:20 -0800)
commitb28186247104f8b90cfbe094d289c91f9e413317
treebbfcffcb6a9619180bdc95952f9b21378bda7022
parentf00612cfebc7082dac3aba6a47f7ba93af2951ec
Haswell-specific implementation of Select64 routine.

Summary: k-th bit selection could be efficiently implemented via new BMI2 instruction set.

Reviewed By: ot, philippv

Differential Revision: D2843311

fb-gh-sync-id: 4c0cf52176a03422aef276ce5f677080f67f5fdf
folly/experimental/Select64.h
folly/experimental/test/EliasFanoCodingTest.cpp