Searched defs:diff (Results 1 - 11 of 11) sorted by path

/art/compiler/dex/quick/
H A Dcodegen_util.cc307 uint32_t diff = i - mir_graph_->GetNumOfCodeVRs(); local
308 StringAppendF(&buf3, "ct%d", diff);
H A Dralloc_util.cc943 int diff = my_sreg - partner_sreg; local
944 DCHECK((diff == 0) || (diff == -1) || (diff == 1));
/art/compiler/linker/arm/
H A Drelative_patcher_thumb2.cc64 uint32_t diff = target_offset - pc_base; local
68 uint32_t diff16 = ((insn & 0x00800000u) != 0u) ? (diff >> 16) : (diff & 0xffffu);
H A Drelative_patcher_thumb2_test.cc143 uint32_t diff = dex_cache_arrays_begin_ + element_offset - pc_base_offset; local
144 // Distribute the bits of the diff between the MOVW and MOVT:
145 uint32_t diffw = diff & 0xffffu;
146 uint32_t difft = diff >> 16;
215 ASSERT_GE(diff_before, -1u << 9); // Simple encoding, -256 <= (diff >> 1) < 0.
228 uint32_t diff = kTrampolineOffset - (method1_offset + 4u); local
229 ASSERT_EQ(diff & 1u, 0u);
230 ASSERT_GE(diff, -1u << 9); // Simple encoding, -256 <= (diff >> 1) < 0 (checked as unsigned).
231 auto expected_code = GenNopsAndBl(0u, kBlMinus256 | ((diff >>
296 uint32_t diff = thunk_offset - (method1_offset + bl_offset_in_method1 + 4u /* PC adjustment */); local
322 uint32_t diff = thunk_offset - (method3_offset + bl_offset_in_method3 + 4u /* PC adjustment */); local
[all...]
/art/compiler/linker/arm64/
H A Drelative_patcher_arm64_test.cc381 uint32_t diff = kTrampolineOffset - method1_offset; local
382 ASSERT_EQ(diff & 1u, 0u);
383 ASSERT_GE(diff, -1u << 9); // Simple encoding, -256 <= (diff >> 1) < 0 (checked as unsigned).
384 auto expected_code = GenNopsAndBl(0u, kBlPlus0 | ((diff >> 2) & 0x03ffffffu));
458 uint32_t diff = thunk_offset - (method1_offset + bl_offset_in_method1); local
459 ASSERT_EQ(diff & 3u, 0u);
460 ASSERT_LT(diff, 128 * MB);
461 auto expected_code = GenNopsAndBl(0u, kBlPlus0 | (diff >> 2));
487 uint32_t diff local
[all...]
/art/compiler/linker/x86/
H A Drelative_patcher_x86.cc51 uint32_t diff = target_offset - anchor_offset; local
52 (*code)[literal_offset + 0u] = static_cast<uint8_t>(diff >> 0);
53 (*code)[literal_offset + 1u] = static_cast<uint8_t>(diff >> 8);
54 (*code)[literal_offset + 2u] = static_cast<uint8_t>(diff >> 16);
55 (*code)[literal_offset + 3u] = static_cast<uint8_t>(diff >> 24);
H A Drelative_patcher_x86_test.cc95 uint32_t diff = kTrampolineOffset - (result.second + kCallCode.size()); local
98 static_cast<uint8_t>(diff), static_cast<uint8_t>(diff >> 8),
99 static_cast<uint8_t>(diff >> 16), static_cast<uint8_t>(diff >> 24)
122 uint32_t diff = local
127 0x8b, 0x83, // mov eax, [ebx + diff]
128 static_cast<uint8_t>(diff), static_cast<uint8_t>(diff >> 8),
129 static_cast<uint8_t>(diff >> 1
[all...]
/art/compiler/linker/x86_64/
H A Drelative_patcher_x86_64_test.cc105 uint32_t diff = kTrampolineOffset - (result.second + kCallCode.size()); local
108 static_cast<uint8_t>(diff), static_cast<uint8_t>(diff >> 8),
109 static_cast<uint8_t>(diff >> 16), static_cast<uint8_t>(diff >> 24)
125 uint32_t diff = local
129 static_cast<uint8_t>(diff), static_cast<uint8_t>(diff >> 8),
130 static_cast<uint8_t>(diff >> 16), static_cast<uint8_t>(diff >> 2
[all...]
/art/compiler/optimizing/
H A Doptimizing_unit_test.h93 // Naive string diff data type.
97 // removed in a diff.
100 // Naive patch command: apply a diff to a string.
101 inline std::string Patch(const std::string& original, const diff_t& diff) { argument
103 for (const auto& p : diff) {
/art/runtime/arch/arm64/
H A Dmemcmp16_arm64.S39 #define diff x6 define
66 eor diff, data1, data2 /* Non-zero if differences found. */
67 csinv endloop, diff, xzr, ne /* Last Dword or differences. */
71 /* Not reached the limit, must have found a diff. */
86 // Swap the byte order of diff. Exact reverse is not important, as we only need to detect
88 rev diff, diff
90 clz diff, diff
92 bfi diff, xz
[all...]
/art/runtime/
H A Doat_file_assistant.cc530 std::set<std::string> diff; local
532 old_top_k.end(), std::inserter(diff, diff.end()));
534 // TODO: consider using the usedPercentage instead of the plain diff count.
535 double change_percent = 100.0 * static_cast<double>(diff.size())
537 std::set<std::string>::iterator end = diff.end();
538 for (std::set<std::string>::iterator it = diff.begin(); it != end; it++) {

Completed in 133 milliseconds