Searched refs:LeastSignificantBit (Results 1 – 5 of 5) 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 | 138 uint32_t shift = LeastSignificantBit(register_mask); in BeginStackMapEntry()
|
D | code_generator_arm_vixl.cc | 2171 uint32_t least_significant_bit = LeastSignificantBit(fpu_spill_mask_); in ComputeSpillMask() 2438 DCHECK_LT(MostSignificantBit(extra_regs), LeastSignificantBit(core_spill_mask_)); in GenerateFrameEntry() 2447 vixl::aarch32::SRegister sreg(LeastSignificantBit(fpu_spill_mask_)); in GenerateFrameEntry() 2459 uint32_t first = LeastSignificantBit(fpu_spill_mask_); in GenerateFrameEntry() 2520 vixl::aarch32::SRegister sreg(LeastSignificantBit(fpu_spill_mask_)); in GenerateFrameExit() 2529 DCHECK_LT(MostSignificantBit(extra_regs), LeastSignificantBit(pop_mask)); in GenerateFrameExit() 2538 uint32_t first = LeastSignificantBit(fpu_spill_mask_); in GenerateFrameExit()
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.cc | 570 vixl32::Register copy_temp1 = vixl32::Register(LeastSignificantBit(copy_temp_regs)); in MoveArguments() 573 ? vixl32::Register(LeastSignificantBit(copy_temp_regs)) in MoveArguments()
|