Skip to content

Commit

Permalink
Document how to enable PEXT with MSVC
Browse files Browse the repository at this point in the history
When not using Makefile, e.g. with MSVC, if hardware
supports BMI2 instructions, then USE_PEXT should be
added in project configuration to enable pext support.

No functional change.
  • Loading branch information
mcostalba committed Jan 21, 2015
1 parent 36f8814 commit 6390a3d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/types.h
Expand Up @@ -33,6 +33,9 @@
///
/// -DUSE_POPCNT | Add runtime support for use of popcnt asm-instruction. Works
/// | only in 64-bit mode and requires hardware with popcnt support.
///
/// -DUSE_PEXT | Add runtime support for use of pext asm-instruction. Works
/// | only in 64-bit mode and requires hardware with pext support.

#include <cassert>
#include <cctype>
Expand Down

0 comments on commit 6390a3d

Please sign in to comment.