Home
last modified time | relevance | path

Searched refs:CountLeadingZeros (Results 1 – 25 of 41) sorted by relevance

12

/third_party/node/deps/v8/src/codegen/arm64/
Dutils-arm64.cc75 int CountLeadingZeros(uint64_t value, int width) { in CountLeadingZeros() function
86 return CountLeadingZeros(value, width) - 1; in CountLeadingSignBits()
88 return CountLeadingZeros(~value, width) - 1; in CountLeadingSignBits()
108 return 63 - CountLeadingZeros(value, 64); in HighestSetBitPosition()
Dutils-arm64.h34 int CountLeadingZeros(uint64_t value, int width);
/third_party/node/deps/v8/src/bigint/
Dutil.h31 constexpr int CountLeadingZeros(T value) { in CountLeadingZeros() function
42 constexpr int CountLeadingZeros(uint32_t value) { in CountLeadingZeros() function
65 return 32 - CountLeadingZeros(static_cast<uint32_t>(n)); in BitLength()
Dvector-arithmetic.h57 return X.len() * kDigitBits - CountLeadingZeros(X.msd()); in BitLength()
Ddiv-helpers.h41 int leading_zeros = CountLeadingZeros(original.msd());
Ddiv-burnikel.cc213 int sigma = CountLeadingZeros(B[s - 1]); in DivideBurnikelZiegler()
224 int extra_digit = CountLeadingZeros(A[r - 1]) < (sigma + 1) ? 1 : 0; in DivideBurnikelZiegler()
Ddigit-arithmetic.h149 int s = CountLeadingZeros(divisor); in digit_div()
Dtostring.cc344 leading_zero_shift_ = CountLeadingZeros(divisor_.msd()); in LeftShiftDivisor()
/third_party/vixl/src/
Dcompiler-intrinsics-vixl.cc37 return CountLeadingZeros(value, width) - 1; in CountLeadingSignBitsFallBack()
39 return CountLeadingZeros(~value, width) - 1; in CountLeadingSignBitsFallBack()
Dcompiler-intrinsics-vixl.h128 inline int CountLeadingZeros(V value, int width = (sizeof(V) * 8)) {
Dutils-vixl.cc288 int shift = CountLeadingZeros(mantissa << (32 - 10)); in FPToFloat()
Dutils-vixl.h624 return (sizeof(value) * 8 - 1) - CountLeadingZeros(value);
1347 const int highest_significant_bit = 63 - CountLeadingZeros(mantissa);
/third_party/node/deps/v8/src/base/
Dbits.h80 CountLeadingZeros(T value) { in CountLeadingZeros() function
96 return CountLeadingZeros<T, next_bits>(next_value) + add; in CountLeadingZeros()
101 return CountLeadingZeros(value); in CountLeadingZeros32()
104 return CountLeadingZeros(value); in CountLeadingZeros64()
Dbits.cc20 return 1u << (32 - CountLeadingZeros(value)); in RoundUpToPowerOfTwo32()
36 return uint64_t{1} << (64 - CountLeadingZeros(value)); in RoundUpToPowerOfTwo64()
Dbits-iterator.h25 return kMSBFirst ? 8 * sizeof(T) - 1 - CountLeadingZeros(bits_)
/third_party/node/deps/v8/src/wasm/baseline/
Dliftoff-register.h121 32 - base::bits::CountLeadingZeros<uint32_t>(kAfterMaxLiftoffRegCode - 1);
123 32 - base::bits::CountLeadingZeros<uint32_t>(kMaxGpRegCode);
125 32 - base::bits::CountLeadingZeros<uint32_t>(kMaxFpRegCode);
445 8 * sizeof(regs_) - 1 - base::bits::CountLeadingZeros(regs_); in GetLastRegSet()
/third_party/skia/third_party/externals/angle2/src/common/
Dmathutil_unittest.cpp204 TEST(MathUtilTest, CountLeadingZeros) in TEST() argument
209 EXPECT_EQ(i, CountLeadingZeros(iLeadingZeros)); in TEST()
211 EXPECT_EQ(32u, CountLeadingZeros(0)); in TEST()
/third_party/node/deps/v8/src/objects/
Dswiss-hash-table-helpers.h142 return (sizeof(T) * CHAR_BIT - base::bits::CountLeadingZeros(mask_) - 1) >> in HighestBitSet()
157 return base::bits::CountLeadingZeros(mask_ << extra_bits) >> Shift; in LeadingZeros()
Dbigint.cc852 int msd_leading_zeros = base::bits::CountLeadingZeros(x_msd); in CompareToDouble()
939 int bit_length = kDigitBits - base::bits::CountLeadingZeros(digit); in ToString()
1092 int msd_leading_zeros = base::bits::CountLeadingZeros(x_msd); in ToDouble()
/third_party/node/deps/v8/src/heap/
Dobject-start-bitmap.h107 const int leading_zeroes = v8::base::bits::CountLeadingZeros(byte); in FindBasePtr()
/third_party/node/deps/v8/src/heap/cppgc/
Dobject-start-bitmap.h128 const int leading_zeroes = v8::base::bits::CountLeadingZeros(byte); in FindHeader()
/third_party/node/deps/v8/src/codegen/
Dreglist-base.h121 8 * sizeof(regs_) - 1 - base::bits::CountLeadingZeros(regs_); in last()
/third_party/vixl/src/aarch64/
Doperands-aarch64.cc46 int index = CountLeadingZeros(list); in PopHighestIndex()
Dinstructions-aarch64.cc649 int lane_size_in_bytes_log_2 = 32 - CountLeadingZeros(tsize, 32) - 1; in GetSVEImmShiftAndLaneSizeLog2()
/third_party/node/deps/v8/src/wasm/
Dwasm-external-refs.cc128 uint32_t leading_zeros = base::bits::CountLeadingZeros(input); in uint64_to_float32_wrapper()

12