/external/v8/test/unittests/base/ |
bits-unittest.cc | 31 TEST(Bits, CountPopulation64) { 32 EXPECT_EQ(0u, CountPopulation64(0)); 33 EXPECT_EQ(1u, CountPopulation64(1)); 34 EXPECT_EQ(2u, CountPopulation64(0x8000000000000001)); 35 EXPECT_EQ(8u, CountPopulation64(0x11111111)); 36 EXPECT_EQ(16u, CountPopulation64(0xf0f0f0f0)); 37 EXPECT_EQ(24u, CountPopulation64(0xfff0f0ff)); 38 EXPECT_EQ(32u, CountPopulation64(0xffffffff)); 39 EXPECT_EQ(16u, CountPopulation64(0x1111111111111111)); 40 EXPECT_EQ(32u, CountPopulation64(0xf0f0f0f0f0f0f0f0)) [all...] |
/external/v8/src/ |
bit-vector.cc | 48 count += base::bits::CountPopulation64(data);
|
/external/v8/src/base/ |
bits.h | 42 // CountPopulation64(value) returns the number of bits set in |value|. 43 inline unsigned CountPopulation64(uint64_t value) { 60 return CountPopulation64(value); 96 return CountPopulation64(~value);
|
/external/v8/src/compiler/mips64/ |
instruction-selector-mips64.cc | 325 uint32_t mask_width = base::bits::CountPopulation64(mask); 354 uint32_t shift = base::bits::CountPopulation64(~mask); 508 uint32_t mask_width = base::bits::CountPopulation64(mask); 539 unsigned mask_width = base::bits::CountPopulation64(mask); [all...] |
/external/v8/src/compiler/arm64/ |
instruction-selector-arm64.cc | 837 uint64_t mask_width = base::bits::CountPopulation64(mask); [all...] |
/external/v8/src/compiler/ppc/ |
instruction-selector-ppc.cc | 476 int mask_width = base::bits::CountPopulation64(value); [all...] |
/external/v8/src/compiler/s390/ |
instruction-selector-s390.cc | 462 int mask_width = base::bits::CountPopulation64(value); [all...] |
/external/v8/test/unittests/compiler/arm64/ |
instruction-selector-arm64-unittest.cc | [all...] |
/external/v8/src/ia32/ |
macro-assembler-ia32.cc | [all...] |
/external/v8/src/x64/ |
macro-assembler-x64.cc | [all...] |