Searched refs:LeadZeroIdx (Results 1 – 3 of 3) sorted by relevance
39 unsigned long LeadZeroIdx = 0; in Clzll() local43 if (_BitScanReverse(&LeadZeroIdx, static_cast<unsigned long>(X >> 32))) in Clzll()45 63 - (LeadZeroIdx + 32)); // Create a bit offset from the MSB. in Clzll()47 if (_BitScanReverse(&LeadZeroIdx, static_cast<unsigned long>(X))) in Clzll()48 return static_cast<int>(63 - LeadZeroIdx); in Clzll()51 if (_BitScanReverse64(&LeadZeroIdx, X)) return 63 - LeadZeroIdx; in Clzll()
927 unsigned long LeadZeroIdx = 0;930 if (_BitScanReverse(&LeadZeroIdx, (unsigned long)(X >> 32)))931 return (int)(63 - (LeadZeroIdx + 32)); // Create a bit offset934 if (_BitScanReverse(&LeadZeroIdx, (unsigned long)(X)))935 return (int)(63 - LeadZeroIdx);937 if (_BitScanReverse64(&LeadZeroIdx, X)) return 63 - LeadZeroIdx;