Home
last modified time | relevance | path

Searched refs:CountTrailingZeros32 (Results 1 – 13 of 13) sorted by relevance

/external/v8/test/unittests/base/
Dbits-unittest.cc67 TEST(Bits, CountTrailingZeros32) { in TEST() argument
68 EXPECT_EQ(32u, CountTrailingZeros32(0)); in TEST()
69 EXPECT_EQ(31u, CountTrailingZeros32(0x80000000)); in TEST()
71 EXPECT_EQ(shift, CountTrailingZeros32(1u << shift)); in TEST()
73 EXPECT_EQ(4u, CountTrailingZeros32(0xf0f0f0f0)); in TEST()
/external/v8/src/
Dlayout-descriptor.cc12 using v8::base::bits::CountTrailingZeros32;
147 int sequence_length = CountTrailingZeros32(value) - layout_bit_index; in IsTagged()
160 int cur_sequence_length = CountTrailingZeros32(value); in IsTagged()
/external/v8/src/heap/
Dmark-compact-inl.h149 uint32_t trailing_zeros = base::bits::CountTrailingZeros32(current_cell_); in Next()
Dmark-compact.cc2955 (base::bits::CountTrailingZeros32(cells[cell_index]) > in IsSlotInBlackObject()
2956 base::bits::CountTrailingZeros32(cells[cell_index] | index_mask))) { in IsSlotInBlackObject()
/external/v8/src/base/
Dbits.h98 inline unsigned CountTrailingZeros32(uint32_t value) { in CountTrailingZeros32() function
/external/v8/src/compiler/
Dmachine-operator-reducer.cc109 unsigned const shift = base::bits::CountTrailingZeros32(divisor); in Uint32Div()
862 mleft.right().Value() >= base::bits::CountTrailingZeros32(mask)) { in ReduceWord32And()
903 if (mleftleft.right().Is(base::bits::CountTrailingZeros32(mask))) { in ReduceWord32And()
915 if (mleftright.right().Is(base::bits::CountTrailingZeros32(mask))) { in ReduceWord32And()
/external/v8/src/compiler/mips/
Dinstruction-selector-mips.cc265 DCHECK_EQ(0u, base::bits::CountTrailingZeros32(mask)); in VisitWord32And()
347 DCHECK_EQ(0u, base::bits::CountTrailingZeros32(mask)); in VisitWord32Shl()
377 DCHECK_EQ(lsb, base::bits::CountTrailingZeros32(mask)); in VisitWord32Shr()
/external/v8/src/compiler/arm64/
Dinstruction-selector-arm64.cc626 DCHECK_EQ(0u, base::bits::CountTrailingZeros32(mask)); in VisitWord32And()
740 DCHECK_EQ(0u, base::bits::CountTrailingZeros32(mask)); in VisitWord32Shl()
823 DCHECK_EQ(lsb, base::bits::CountTrailingZeros32(mask)); in VisitWord32Shr()
1879 base::bits::CountTrailingZeros32(m.right().Value())), in VisitBranch()
/external/v8/src/compiler/arm/
Dinstruction-selector-arm.cc557 DCHECK_EQ(0u, base::bits::CountTrailingZeros32(value)); in VisitWord32And()
589 uint32_t lsb = base::bits::CountTrailingZeros32(~value); in VisitWord32And()
688 DCHECK_EQ(lsb, base::bits::CountTrailingZeros32(value)); in VisitWord32Shr()
Dcode-generator-arm.cc1118 uint32_t first = base::bits::CountTrailingZeros32(saves_fp); in AssemblePrologue()
1154 uint32_t first = base::bits::CountTrailingZeros32(saves_fp); in AssembleReturn()
/external/v8/src/compiler/mips64/
Dinstruction-selector-mips64.cc274 DCHECK_EQ(0u, base::bits::CountTrailingZeros32(mask)); in VisitWord32And()
437 DCHECK_EQ(0u, base::bits::CountTrailingZeros32(mask)); in VisitWord32Shl()
467 DCHECK_EQ(lsb, base::bits::CountTrailingZeros32(mask)); in VisitWord32Shr()
/external/v8/src/compiler/ppc/
Dinstruction-selector-ppc.cc449 int mask_lsb = base::bits::CountTrailingZeros32(value); in IsContiguousMask32()
/external/v8/src/ia32/
Dmacro-assembler-ia32.cc2382 unsigned ntz = base::bits::CountTrailingZeros32(src); in Move()