Searched refs:LeastSignificantBit (Results 1 – 4 of 4) sorted by relevance
/art/libartbase/base/ |
D | bit_utils_test.cc | 90 static_assert(-1 == LeastSignificantBit<uint32_t>(0u), "TestLSB32#1"); 91 static_assert(0 == LeastSignificantBit<uint32_t>(1u), "TestLSB32#1"); 92 static_assert(0 == LeastSignificantBit<uint32_t>(~static_cast<uint32_t>(0u)), "TestLSB32#1"); 93 static_assert(1 == LeastSignificantBit<uint32_t>(0b110), "TestLSB32#1"); 94 static_assert(2 == LeastSignificantBit<uint32_t>(0b100), "TestLSB32#1"); 96 static_assert(-1 == LeastSignificantBit<uint64_t>(UINT64_C(0)), "TestLSB64#1"); 97 static_assert(0 == LeastSignificantBit<uint64_t>(UINT64_C(1)), "TestLSB64#2"); 98 static_assert(0 == LeastSignificantBit<uint64_t>(~UINT64_C(0)), "TestLSB64#3"); 99 static_assert(12 == LeastSignificantBit<uint64_t>(UINT64_C(0x5000)), "TestLSB64#4"); 100 static_assert(48 == LeastSignificantBit<uint64_t>(UINT64_C(0x5555000000000000)), "TestLSB64#5");
|
D | bit_utils.h | 116 constexpr ssize_t LeastSignificantBit(T value) { in LeastSignificantBit() function
|
/art/compiler/optimizing/ |
D | stack_map_stream.cc | 122 uint32_t shift = LeastSignificantBit(register_mask); in BeginStackMapEntry()
|
D | code_generator_arm_vixl.cc | 2103 uint32_t least_significant_bit = LeastSignificantBit(fpu_spill_mask_); in ComputeSpillMask() 2237 DCHECK_LT(MostSignificantBit(extra_regs), LeastSignificantBit(core_spill_mask_)); in GenerateFrameEntry() 2246 vixl::aarch32::SRegister sreg(LeastSignificantBit(fpu_spill_mask_)); in GenerateFrameEntry() 2258 uint32_t first = LeastSignificantBit(fpu_spill_mask_); in GenerateFrameEntry() 2319 vixl::aarch32::SRegister sreg(LeastSignificantBit(fpu_spill_mask_)); in GenerateFrameExit() 2328 DCHECK_LT(MostSignificantBit(extra_regs), LeastSignificantBit(pop_mask)); in GenerateFrameExit() 2337 uint32_t first = LeastSignificantBit(fpu_spill_mask_); in GenerateFrameExit()
|