/art/runtime/base/ |
D | bit_utils.h | 222 static constexpr T GetIntLimit(size_t bits) { in GetIntLimit() argument 224 DCHECK_CONSTEXPR(bits > 0, "bits cannot be zero", 0) in GetIntLimit() 225 DCHECK_CONSTEXPR(bits < BitSizeOf<T>(), "kBits must be < max.", 0) in GetIntLimit() 226 static_cast<T>(1) << (bits - 1); in GetIntLimit() 270 static constexpr T MaxInt(size_t bits) { in MaxInt() argument 272 DCHECK_CONSTEXPR(std::is_unsigned<T>::value || bits > 0, "bits cannot be zero for signed", 0) in MaxInt() 273 DCHECK_CONSTEXPR(bits <= BitSizeOf<T>(), "kBits must be < max.", 0) in MaxInt() 274 bits == BitSizeOf<T>() in MaxInt() 277 ? (bits == 1 in MaxInt() 279 : static_cast<T>(MaxInt<typename std::make_unsigned<T>::type>(bits - 1))) in MaxInt() [all …]
|
D | bit_vector_test.cc | 71 uint32_t bits[kWords]; in TEST() local 72 memset(bits, 0, sizeof(bits)); in TEST() 74 BitVector bv(false, Allocator::GetNoopAllocator(), kWords, bits); in TEST() 77 EXPECT_EQ(bits, bv.GetRawStorage()); in TEST() 128 uint32_t bits[kWords]; in TEST() local 129 memset(bits, 0, sizeof(bits)); in TEST() 131 BitVector bv(false, Allocator::GetNoopAllocator(), kWords, bits); in TEST()
|
D | bit_vector.h | 144 static constexpr uint32_t BitsToWords(uint32_t bits) { in BitsToWords() argument 145 return RoundUp(bits, kWordBits) / kWordBits; in BitsToWords()
|
/art/runtime/ |
D | art_field-inl.h | 217 JValue bits; in GetFloat() local 218 bits.SetI(Get32(object)); in GetFloat() 219 return bits.GetF(); in GetFloat() 225 JValue bits; in SetFloat() local 226 bits.SetF(f); in SetFloat() 227 Set32<kTransactionActive>(object, bits.GetI()); in SetFloat() 232 JValue bits; in GetDouble() local 233 bits.SetJ(Get64(object)); in GetDouble() 234 return bits.GetD(); in GetDouble() 240 JValue bits; in SetDouble() local [all …]
|
D | dex_file_verifier_test.cc | 881 uint32_t bits = POPCOUNT(kInterfaceDisallowed); in TEST_F() local 882 for (uint32_t i = 1; i < (1u << bits); ++i) { in TEST_F() 1045 uint32_t bits = POPCOUNT(kAccFlags); in TEST_F() local 1046 for (uint32_t j = 1; j < (1u << bits); ++j) { in TEST_F() 1255 uint32_t bits = POPCOUNT(kInterfaceDisallowed); in TEST_F() local 1256 for (uint32_t i = 1; i < (1u << bits); ++i) { in TEST_F()
|
/art/runtime/interpreter/mterp/mips/ |
D | op_iput_wide_quick.S | 11 addu a2, a2, a3 # obj.field (64 bits, aligned) <- a0/a1 12 STORE64(a0, a1, a2) # obj.field (64 bits, aligned) <- a0/a1
|
D | op_iput_quick.S | 12 $store a0, 0(t0) # obj.field (8/16/32 bits) <- a0
|
/art/test/577-checker-fp2int/ |
D | info.txt | 1 Unit test for float/double to raw bits conversions.
|
/art/test/436-shift-constant/ |
D | info.txt | 1 Regression tests for shift instructions and constants larger than 8bits.
|
/art/test/583-checker-zero/ |
D | info.txt | 1 Regression test for optimizing that used to think 0.0 has the same bits
|
/art/runtime/interpreter/mterp/x86/ |
D | op_const.S | 2 movl 2(rPC), %eax # grab all 32 bits at once
|
/art/runtime/interpreter/mterp/x86_64/ |
D | op_const.S | 2 movl 2(rPC), %eax # grab all 32 bits at once
|
/art/test/419-long-parameter/ |
D | info.txt | 2 on 32bits architectures. The move to hard float ABI makes it so that the
|
/art/runtime/interpreter/mterp/mips64/ |
D | op_int_to_long.S | 3 GET_VREG a0, a3 # a0 <- vB (sign-extended to 64 bits)
|
/art/runtime/interpreter/mterp/ |
D | gen_mterp.py | 88 bits = -1 91 bits += 1 93 if handler_size_bytes == 0 or handler_size_bytes != (1 << bits): 96 handler_size_bits = bits
|
/art/test/510-checker-try-catch/smali/ |
D | Runtime.smali | 60 # The sum of the low and high 32 bits treated as integers is returned to prove 253 # to the location of the catch phi. The sum of the low and high 32 bits treated 347 # Values were chosen so that all 64 bits are used. 439 # and returned. Values were chosen so that all 64 bits are used.
|
/art/runtime/arch/arm/ |
D | quick_entrypoints_arm.S | 542 and r3, #LOCK_WORD_READ_BARRIER_STATE_MASK_TOGGLED @ zero the read barrier bits 558 and r3, #LOCK_WORD_READ_BARRIER_STATE_MASK_TOGGLED @ zero the read barrier bits. 560 …lsr r3, r2, LOCK_WORD_READ_BARRIER_STATE_SHIFT @ if either of the upper two bits (28-29) are s… 563 strex r3, r2, [r0, #MIRROR_OBJECT_LOCK_WORD_OFFSET] @ strex necessary for read barrier bits 600 cbnz r2, .Lslow_unlock @ if either of the top two bits are set, go slow path 603 and r3, #LOCK_WORD_READ_BARRIER_STATE_MASK_TOGGLED @ zero the read barrier bits 605 uxth r3, r3 @ zero top 16 bits
|
/art/compiler/optimizing/ |
D | code_generator_arm64.cc | 2566 int bits = instruction->GetResultType() == Primitive::kPrimInt ? 32 : 64; in DivRemByPowerOfTwo() local 2567 __ Asr(temp, dividend, bits - 1); in DivRemByPowerOfTwo() 2568 __ Lsr(temp, temp, bits - ctz_imm); in DivRemByPowerOfTwo()
|
/art/runtime/interpreter/mterp/out/ |
D | mterp_mips.S | 7568 LOAD64(a0, a1, t0) # a0 <- obj.field (64 bits, aligned) 7791 lbu a0, 0(t0) # a0 <- obj.field (8/16/32 bits) 7831 lhu a0, 0(t0) # a0 <- obj.field (8/16/32 bits)
|
D | mterp_x86_64.S | 683 movl 2(rPC), %eax # grab all 32 bits at once
|
D | mterp_x86.S | 716 movl 2(rPC), %eax # grab all 32 bits at once
|
D | mterp_mips64.S | 3670 GET_VREG a0, a3 # a0 <- vB (sign-extended to 64 bits)
|
D | mterp_arm.S | 6906 ldrd r0, [r3, ip] @ r0<- obj.field (64 bits, aligned)
|