_bextr_u64
Classification
Other, Bit Manipulation, CPUID Test: BMI1
Header File
Instruction
BEXTR r64, r64, r64
Synopsis
_bextr_u64(unsigned __int64 a, unsigned int start, unsigned int len);
Description
Extract contiguous bits from unsigned 64-bit integer "a", and store the result in "dst". Extract the number of bits specified by "len", starting at the bit specified by "start".
Operation
tmp[511:0] := a
dst[63:0] := ZeroExtend64(tmp[(start[7:0] + len[7:0] - 1):start[7:0]])