Home
last modified time | relevance | path

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

/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc395 uint32_t b_diff = thunk_offset - (method1_offset + num_nops * 4u); in TestNopsAdrpInsn2AndUseHasThunk() local
396 CHECK_ALIGNED(b_diff, 4u); in TestNopsAdrpInsn2AndUseHasThunk()
397 ASSERT_LT(b_diff, 128 * MB); in TestNopsAdrpInsn2AndUseHasThunk()
398 uint32_t b_out = kBPlus0 + ((b_diff >> 2) & 0x03ffffffu); in TestNopsAdrpInsn2AndUseHasThunk()
399 uint32_t b_in = kBPlus0 + ((-b_diff >> 2) & 0x03ffffffu); in TestNopsAdrpInsn2AndUseHasThunk()