Home
last modified time | relevance | path

Searched refs:diff_before (Results 1 – 5 of 5) sorted by relevance

/art/compiler/linker/mips64/
Drelative_patcher_mips64_test.cc117 uint32_t diff_before = method1_offset - (method2_offset + kAnchorOffset /* PC adjustment */); in TEST_F() local
118 diff_before += (diff_before & 0x8000) << 1; // Account for sign extension in jialc. in TEST_F()
120 static_cast<uint8_t>(diff_before >> 16), static_cast<uint8_t>(diff_before >> 24), 0x3E, 0xEC, in TEST_F()
121 static_cast<uint8_t>(diff_before), static_cast<uint8_t>(diff_before >> 8), 0x01, 0xF8, in TEST_F()
/art/compiler/linker/x86/
Drelative_patcher_x86_test.cc79 uint32_t diff_before = method1_offset - (method2_offset + kCallCode.size() /* PC adjustment */); in TEST_F() local
82 static_cast<uint8_t>(diff_before), in TEST_F()
83 static_cast<uint8_t>(diff_before >> 8), in TEST_F()
84 static_cast<uint8_t>(diff_before >> 16), in TEST_F()
85 static_cast<uint8_t>(diff_before >> 24) in TEST_F()
/art/compiler/linker/x86_64/
Drelative_patcher_x86_64_test.cc99 uint32_t diff_before = method1_offset - (method2_offset + kCallCode.size() /* PC adjustment */); in TEST_F() local
102 static_cast<uint8_t>(diff_before), in TEST_F()
103 static_cast<uint8_t>(diff_before >> 8), in TEST_F()
104 static_cast<uint8_t>(diff_before >> 16), in TEST_F()
105 static_cast<uint8_t>(diff_before >> 24) in TEST_F()
/art/compiler/linker/arm/
Drelative_patcher_thumb2_test.cc249 uint32_t diff_before = method1_offset - (method2_offset + 4u /* PC adjustment */); in TEST_F() local
250 ASSERT_EQ(diff_before & 1u, 0u); in TEST_F()
251 ASSERT_GE(diff_before, -1u << 9); // Simple encoding, -256 <= (diff >> 1) < 0. in TEST_F()
252 auto method2_expected_code = GenNopsAndBl(0u, kBlMinus256 | ((diff_before >> 1) & 0xffu)); in TEST_F()
/art/compiler/linker/arm64/
Drelative_patcher_arm64_test.cc545 uint32_t diff_before = method1_offset - method2_offset; in TEST_F() local
546 CHECK_ALIGNED(diff_before, 4u); in TEST_F()
547 ASSERT_GE(diff_before, -1u << 27); in TEST_F()
548 auto method2_expected_code = GenNopsAndBl(0u, kBlPlus0 | ((diff_before >> 2) & 0x03ffffffu)); in TEST_F()