Searched defs:bits (Results 1 - 9 of 9) sorted by relevance
/art/runtime/base/ |
H A D | bit_vector_test.cc | 70 uint32_t bits[kWords]; local 71 memset(bits, 0, sizeof(bits)); 73 BitVector bv(0U, false, Allocator::GetNoopAllocator(), kWords, bits); 76 EXPECT_EQ(bits, bv.GetRawStorage()); 127 uint32_t bits[kWords]; local 128 memset(bits, 0, sizeof(bits)); 130 BitVector bv(0U, false, Allocator::GetNoopAllocator(), kWords, bits);
|
H A D | bit_vector.cc | 31 static inline uint32_t BitsToWords(uint32_t bits) { argument 32 return (bits + 31) >> 5; 72 // Mark all bits bit as "clear". 86 /* Round up to word boundaries for "num+1" bits */ 150 // - Either src was larger than us: we don't care, all upper bits would thus be 0. 151 // - Either we are larger than src: we don't care, all upper bits would have been 0 too. 152 // So all we need to do is set all remaining bits to 0. 252 // If we are bigger than src, the upper bits are unchanged. 253 // If we are smaller than src, the non-existant upper bits are 0 and thus can't get subtracted. 259 // Count the number of bits tha [all...] |
/art/compiler/dex/quick/arm/ |
H A D | assemble_arm.cc | 1085 uint32_t bits = encoder->skeleton; local 1094 bits |= value; 1105 bits |= value; 1113 bits |= value; 1118 bits |= value; 1123 bits |= value; 1127 bits |= value; 1132 bits |= value; 1137 bits |= value; 1146 bits | [all...] |
H A D | target_arm.cc | 330 uint32_t bits = value & 0xff; local 333 return bits; 335 return (bits << 16) | bits; 337 return (bits << 24) | (bits << 8); 339 return (bits << 24) | (bits << 16) | (bits << 8) | bits; [all...] |
/art/compiler/dex/quick/arm64/ |
H A D | assemble_arm64.cc | 36 // Used for instructions which have a wide variant with the size bits set to either x0 or x1. 40 // Used for instructions which have a wide variant with the sf and n bits set to 1. 44 // Used for FP instructions which have a single and double precision variants, with he type bits set 665 uint32_t bits = opcode_is_wide ? encoder->xskeleton : encoder->wskeleton; local 761 // their bottom 5 bits are correctly set to 31 == 0b11111, which is the right 769 bits |= value; 783 bits |= value; 788 bits |= value; 798 write_pos[0] = (bits & 0xff); 799 write_pos[1] = ((bits >> [all...] |
H A D | target_arm64.cc | 284 // An integer is constructed from the n, imm_s and imm_r bits according to 294 // (s bits must not be all set) 296 // A pattern is constructed of size bits, where the least significant S+1 297 // bits are set. The pattern is rotated right by R, and repeated across a 302 uint64_t bits = BIT_MASK(imm_s + 1); local 303 return RotateRight(bits, imm_r, 64); 310 uint64_t bits = BIT_MASK((imm_s & mask) + 1); local 311 return RepeatBitsAcrossReg(is_wide, RotateRight(bits, imm_r & mask, width), width); 544 /* Memory bits */ 1100 // Moving 32-bits vi [all...] |
H A D | utility_arm64.cc | 26 int32_t Arm64Mir2Lir::EncodeImmSingle(uint32_t bits) { argument 35 // bits[19..0] are cleared. 36 if ((bits & 0x0007ffff) != 0) 39 // bits[29..25] are all set or all cleared. 40 uint32_t b_pattern = (bits >> 16) & 0x3e00; 45 if (((bits ^ (bits << 1)) & 0x40000000) == 0) 48 // bits: aBbb.bbbc.defg.h000.0000.0000.0000.0000 50 uint32_t bit7 = ((bits >> 31) & 0x1) << 7; 52 uint32_t bit6 = ((bits >> 2 58 EncodeImmDouble(uint64_t bits) argument 95 uint32_t bits = opcode_is_wide ? encoder->xskeleton : encoder->wskeleton; local [all...] |
/art/compiler/dex/quick/mips/ |
H A D | assemble_mips.cc | 651 uint32_t bits = encoder->skeleton; local 667 bits |= value; 671 bits |= (value << encoder->field_loc[i].start); 672 bits |= (value << encoder->field_loc[i].end); 680 bits |= value; 687 bits |= value; 694 code_buffer_.push_back(bits & 0xff); 695 code_buffer_.push_back((bits >> 8) & 0xff); 696 code_buffer_.push_back((bits >> 16) & 0xff); 697 code_buffer_.push_back((bits >> 2 702 uint32_t bits = encoder->skeleton; local [all...] |
/art/runtime/mirror/ |
H A D | art_field-inl.h | 205 JValue bits; local 206 bits.SetI(Get32(object)); 207 return bits.GetF(); 213 JValue bits; local 214 bits.SetF(f); 215 Set32<kTransactionActive>(object, bits.GetI()); 220 JValue bits; local 221 bits.SetJ(Get64(object)); 222 return bits.GetD(); 228 JValue bits; local [all...] |
Completed in 493 milliseconds