From 6390a3da9471da3e0e8755eceb11225fc3088836 Mon Sep 17 00:00:00 2001 From: Marco Costalba Date: Wed, 21 Jan 2015 19:53:26 +0100 Subject: [PATCH] Document how to enable PEXT with MSVC 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. --- src/types.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/types.h b/src/types.h index 367b4278..23e69d2e 100644 --- a/src/types.h +++ b/src/types.h @@ -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 #include -- 2.39.2