Home
last modified time | relevance | path

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

/art/dex2oat/linker/arm/
Drelative_patcher_thumb2_test.cc751 size_t gray_check_offset = thunk_offset; in TestBakerFieldWide() local
755 ASSERT_GE(output_.size() - gray_check_offset, 2u); in TestBakerFieldWide()
757 gray_check_offset +=2u; in TestBakerFieldWide()
759 ASSERT_GE(output_.size() - gray_check_offset, 6u); in TestBakerFieldWide()
762 gray_check_offset += 6u; in TestBakerFieldWide()
766 ASSERT_GE(output_.size() - gray_check_offset, in TestBakerFieldWide()
773 ASSERT_EQ(load_lock_word, GetOutputInsn32(gray_check_offset)); in TestBakerFieldWide()
782 EXPECT_EQ(tst_gray_bit_without_offset, GetOutputInsn32(gray_check_offset + 4u)); in TestBakerFieldWide()
783 EXPECT_EQ(0xd100u, GetOutputInsn16(gray_check_offset + 8u) & 0xff00u); // BNE in TestBakerFieldWide()
790 EXPECT_EQ(fake_dependency, GetOutputInsn32(gray_check_offset + 14u)); in TestBakerFieldWide()
[all …]
/art/dex2oat/linker/arm64/
Drelative_patcher_arm64_test.cc1091 size_t gray_check_offset = thunk_offset; in TestBakerField() local
1094 ASSERT_GE(output_.size() - gray_check_offset, 4u); in TestBakerField()
1096 gray_check_offset +=4u; in TestBakerField()
1100 ASSERT_GE(output_.size() - gray_check_offset, 4u * kGrayCheckInsns); in TestBakerField()
1106 EXPECT_EQ(load_lock_word, GetOutputInsn(gray_check_offset)); in TestBakerField()
1110 EXPECT_EQ(check_gray_bit_without_offset, GetOutputInsn(gray_check_offset + 4u) & 0xfff8001fu); in TestBakerField()
1117 EXPECT_EQ(fake_dependency, GetOutputInsn(gray_check_offset + 12u)); in TestBakerField()