Searched refs:diff_after (Results 1 - 4 of 4) sorted by relevance

/art/compiler/linker/x86/
H A Drelative_patcher_x86_test.cc71 uint32_t diff_after = method2_offset - (method1_offset + kCallCode.size() /* PC adjustment */); local
74 static_cast<uint8_t>(diff_after),
75 static_cast<uint8_t>(diff_after >> 8),
76 static_cast<uint8_t>(diff_after >> 16),
77 static_cast<uint8_t>(diff_after >> 24)
/art/compiler/linker/x86_64/
H A Drelative_patcher_x86_64_test.cc91 uint32_t diff_after = method2_offset - (method1_offset + kCallCode.size() /* PC adjustment */); local
94 static_cast<uint8_t>(diff_after),
95 static_cast<uint8_t>(diff_after >> 8),
96 static_cast<uint8_t>(diff_after >> 16),
97 static_cast<uint8_t>(diff_after >> 24)
/art/compiler/linker/arm/
H A Drelative_patcher_thumb2_test.cc374 uint32_t diff_after = method2_offset - (method1_offset + 4u /* PC adjustment */); local
375 ASSERT_EQ(diff_after & 1u, 0u);
376 ASSERT_LT(diff_after >> 1, 1u << 8); // Simple encoding, (diff_after >> 1) fits into 8 bits.
378 0x00, 0xf0, static_cast<uint8_t>(diff_after >> 1), 0xf8
/art/compiler/linker/arm64/
H A Drelative_patcher_arm64_test.cc557 uint32_t diff_after = method2_offset - method1_offset; local
558 CHECK_ALIGNED(diff_after, 4u);
559 ASSERT_LT(diff_after >> 2, 1u << 8); // Simple encoding, (diff_after >> 2) fits into 8 bits.
560 const std::vector<uint8_t> method1_expected_code = RawCode({kBlPlus0 + (diff_after >> 2)});

Completed in 61 milliseconds