Bit Manipulation Instruction Set

I saw on stackoverflow, there are “Parallel bit deposit and extract” instructions, which are part of BMI2 (Bit Manipulation Instruction Set 2).

Are these instructions (PDEP and PEXT) available to Julia / LLVM?

algorithm - Find nth SET bit in an int - Stack Overflow)

x86 Bit manipulation instruction set - Wikipedia

2 Likes