gccclangintrinsicsiccbmi

Parallel bit deposit / parallel bit extract on intel compiler/LLVM?


For CPUs that come with BMI2 instructions, one can use parallel bit deposit (pdep) and parallel bit extract (pext) with GCC using the builtin functions :

What are their equivalent on the Intel compiler ? And on clang ?


Solution

  • Both, Intel and Clang provide the very same intrinsics.