Searched refs:MaskLeastSignificant (Results 1 – 9 of 9) sorted by relevance
/art/libartbase/base/ |
D | bit_utils.h | 400 inline static constexpr std::make_unsigned_t<T> MaskLeastSignificant(size_t bits) { in MaskLeastSignificant() function 430 const auto mask = MaskLeastSignificant<T>(width); in BitFieldClear() 462 const auto data_mask = MaskLeastSignificant<T2>(width); in BitFieldInsert() 496 static_cast<T>((val >> lsb) & MaskLeastSignificant<T>(width)); in BitFieldExtract() 504 const auto ones_negmask = ~MaskLeastSignificant<T>(width); in BitFieldExtract()
|
D | bit_utils_test.cc | 348 static_assert(MaskLeastSignificant(0) == 0b0, "TestMaskLeastSignificant#1"); 349 static_assert(MaskLeastSignificant(1) == 0b1, "TestMaskLeastSignificant#2"); 350 static_assert(MaskLeastSignificant(2) == 0b11, "TestMaskLeastSignificant#3"); 351 static_assert(MaskLeastSignificant<uint8_t>(8) == 0xFF, "TestMaskLeastSignificant#4"); 352 static_assert(MaskLeastSignificant<int8_t>(8) == 0xFF, "TestMaskLeastSignificant#5"); 353 static_assert(MaskLeastSignificant<uint64_t>(63) == (std::numeric_limits<uint64_t>::max() >> 1u),
|
D | bit_string_test.cc | 143 EXPECT_EQ(MaskLeastSignificant(BitString::GetBitLengthTotalAtPosition(BitString::kCapacity)), in TEST()
|
D | bit_string.h | 50 DCHECK_EQ(0u, data & ~MaskLeastSignificant(bitlength_)) in BitStringChar()
|
/art/runtime/ |
D | subtype_check_info.h | 308 return MaskLeastSignificant<BitString::StorageType>(bitlength); in GetEncodedPathToRootMask()
|
/art/disassembler/ |
D | disassembler_riscv64.cc | 1774 uint32_t mask = MaskLeastSignificant<uint32_t>(20); in Dump16()
|
/art/compiler/optimizing/ |
D | intrinsics_arm64.cc | 3415 tst_mask = MaskLeastSignificant<uint64_t>(63); in GenIsInfinite() 3419 tst_mask = MaskLeastSignificant<uint32_t>(31); in GenIsInfinite()
|
/art/compiler/utils/riscv64/ |
D | assembler_riscv64.h | 2237 return static_cast<uint32_t>(imm) & MaskLeastSignificant<uint32_t>(kWidth); in EncodeIntWidth()
|
D | assembler_riscv64.cc | 1325 EmitCI(0b011u, rd, nzimm6 & MaskLeastSignificant<uint32_t>(6), 0b01u); in CLui()
|