Vincent
Vincent

Reputation: 60441

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 ?

Upvotes: 2

Views: 2838

Answers (1)

danielschemmel
danielschemmel

Reputation: 11126

Both, Intel and Clang provide the very same intrinsics.

Upvotes: 4

Related Questions