Searched refs:lsb (Results 1 – 4 of 4) sorted by relevance
/art/compiler/optimizing/ |
D | instruction_simplifier_x86_shared.cc | 81 HX86MaskOrResetLeastSetBit* lsb = new (arena) HX86MaskOrResetLeastSetBit( in TryGenerateResetLeastSetBit() local 83 instruction->GetBlock()->ReplaceAndRemoveInstructionWith(instruction, lsb); in TryGenerateResetLeastSetBit() 114 HX86MaskOrResetLeastSetBit* lsb = new (arena) HX86MaskOrResetLeastSetBit( in TryGenerateMaskUptoLeastSetBit() local 116 instruction->GetBlock()->ReplaceAndRemoveInstructionWith(instruction, lsb); in TryGenerateMaskUptoLeastSetBit()
|
/art/libartbase/base/ |
D | bit_utils.h | 427 inline static constexpr T BitFieldClear(T value, size_t lsb, size_t width) { in BitFieldClear() argument 428 DCHECK_GE(BitSizeOf(value), lsb + width) << "Bit field out of range for value"; in BitFieldClear() 432 return static_cast<T>(val & ~(mask << lsb)); in BitFieldClear() 454 inline static constexpr T BitFieldInsert(T value, T2 data, size_t lsb, size_t width) { in BitFieldInsert() argument 455 DCHECK_GE(BitSizeOf(value), lsb + width) << "Bit field out of range for value"; in BitFieldInsert() 463 const auto value_cleared = BitFieldClear(value, lsb, width); in BitFieldInsert() 465 return static_cast<T>(value_cleared | ((data & data_mask) << lsb)); in BitFieldInsert() 491 inline static constexpr T BitFieldExtract(T value, size_t lsb, size_t width) { in BitFieldExtract() argument 492 DCHECK_GE(BitSizeOf(value), lsb + width) << "Bit field out of range for value"; in BitFieldExtract() 496 static_cast<T>((val >> lsb) & MaskLeastSignificant<T>(width)); in BitFieldExtract()
|
D | bit_string.h | 260 size_t lsb = GetLsbForPosition(end); in Truncate() local 261 size_t bit_size = GetLsbForPosition(kCapacity) - lsb; in Truncate() 262 StorageType data = BitFieldClear(copy.storage_, lsb, bit_size); in Truncate()
|
/art/runtime/interpreter/mterp/arm64ng/ |
D | main.S | 209 .macro EXTRACT_SCALED_VREG scaled_vreg, scaled_mask_reg, src_reg, lsb argument 210 .if \lsb < 2 211 and \scaled_vreg, \scaled_mask_reg, \src_reg, lsl #(2 - \lsb) 213 and \scaled_vreg, \scaled_mask_reg, \src_reg, lsr #(\lsb - 2)
|