Home
last modified time | relevance | path

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

/art/dex2oat/linker/x86_64/
Drelative_patcher_x86_64_test.cc100 uint32_t diff_before = method1_offset - (method2_offset + kCallCode.size() /* PC adjustment */); in TEST_F() local
103 static_cast<uint8_t>(diff_before), in TEST_F()
104 static_cast<uint8_t>(diff_before >> 8), in TEST_F()
105 static_cast<uint8_t>(diff_before >> 16), in TEST_F()
106 static_cast<uint8_t>(diff_before >> 24) in TEST_F()
/art/dex2oat/linker/x86/
Drelative_patcher_x86_test.cc80 uint32_t diff_before = method1_offset - (method2_offset + kCallCode.size() /* PC adjustment */); in TEST_F() local
83 static_cast<uint8_t>(diff_before), in TEST_F()
84 static_cast<uint8_t>(diff_before >> 8), in TEST_F()
85 static_cast<uint8_t>(diff_before >> 16), in TEST_F()
86 static_cast<uint8_t>(diff_before >> 24) in TEST_F()
/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc440 uint32_t diff_before = method1_offset - (method2_offset + 4u /* PC adjustment */); in TEST_F() local
441 ASSERT_EQ(diff_before & 1u, 0u); in TEST_F()
442 ASSERT_GE(diff_before, -1u << 9); // Simple encoding, -256 <= (diff >> 1) < 0. in TEST_F()
443 auto method2_expected_code = GenNopsAndBl(0u, kBlMinus256 | ((diff_before >> 1) & 0xffu)); in TEST_F()
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc608 uint32_t diff_before = method1_offset - method2_offset; in TEST_F() local
609 CHECK_ALIGNED(diff_before, 4u); in TEST_F()
610 ASSERT_GE(diff_before, -1u << 27); in TEST_F()
611 auto method2_expected_code = GenNopsAndBl(0u, kBlPlus0 | ((diff_before >> 2) & 0x03ffffffu)); in TEST_F()