Visible to Intel only — GUID: GUID-C9325BE6-4A48-4308-8BDC-E2ECCFD657DC
Visible to Intel only — GUID: GUID-C9325BE6-4A48-4308-8BDC-E2ECCFD657DC
<span class='option'>_bzhi_u32/64 </span>
Copies the bits of the first source operand into the destination and clears the higher bits in the destination according to the index value specified by the second source operand. The corresponding Intel® AVX2 instruction is BZHI.
extern unsigned int _bzhi_u32(unsigned int source, unsigned int index); |
extern unsigned __int64 _bzhi_u64(unsigned __int64 source, unsigned int index); |
source |
the source operand from where the bits are copied |
index |
index value according to which the bits are copied |
Copies the bits of the first source operand into the destination and clears the higher bits in the destination according to the index value. The index value is specified by bits 7:0 of the second source operand.
Result of the operation.