Searched refs:diff_before (Results 1 – 4 of 4) sorted by relevance
/art/compiler/linker/x86/ |
D | relative_patcher_x86_test.cc | 77 uint32_t diff_before = method1_offset - (method2_offset + kCallCode.size() /* PC adjustment */); in TEST_F() local 80 static_cast<uint8_t>(diff_before), static_cast<uint8_t>(diff_before >> 8), in TEST_F() 81 static_cast<uint8_t>(diff_before >> 16), static_cast<uint8_t>(diff_before >> 24) in TEST_F()
|
/art/compiler/linker/x86_64/ |
D | relative_patcher_x86_64_test.cc | 87 uint32_t diff_before = method1_offset - (method2_offset + kCallCode.size() /* PC adjustment */); in TEST_F() local 90 static_cast<uint8_t>(diff_before), static_cast<uint8_t>(diff_before >> 8), in TEST_F() 91 static_cast<uint8_t>(diff_before >> 16), static_cast<uint8_t>(diff_before >> 24) in TEST_F()
|
/art/compiler/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 213 uint32_t diff_before = method1_offset - (method2_offset + 4u /* PC adjustment */); in TEST_F() local 214 ASSERT_EQ(diff_before & 1u, 0u); in TEST_F() 215 ASSERT_GE(diff_before, -1u << 9); // Simple encoding, -256 <= (diff >> 1) < 0. in TEST_F() 216 auto method2_expected_code = GenNopsAndBl(0u, kBlMinus256 | ((diff_before >> 1) & 0xffu)); in TEST_F()
|
/art/compiler/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 366 uint32_t diff_before = method1_offset - method2_offset; in TEST_F() local 367 ASSERT_EQ(diff_before & 3u, 0u); in TEST_F() 368 ASSERT_GE(diff_before, -1u << 27); in TEST_F() 369 auto method2_expected_code = GenNopsAndBl(0u, kBlPlus0 | ((diff_before >> 2) & 0x03ffffffu)); in TEST_F()
|