/art/runtime/interpreter/mterp/arm64ng/ |
D | array.S | 1 %def op_aget(load="ldr", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide="0", is_object… 21 ldr x2, [x0, #$data_offset] // x2<- vBB[vCC] 25 $load w2, [x0, #$data_offset] // w2<- vBB[vCC] 34 $load w2, [x0, #$data_offset] // w2<- vBB[vCC] 40 % op_aget(load="ldrb", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET", is_object="0") 43 % op_aget(load="ldrsb", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET", is_object="0") 46 % op_aget(load="ldrh", shift="1", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET", is_object="0") 49 % op_aget(load="ldr", shift="2", data_offset="MIRROR_OBJECT_ARRAY_DATA_OFFSET", is_object="1") 52 % op_aget(load="ldrsh", shift="1", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET", is_object="0") 55 % op_aget(load="ldr", shift="3", data_offset="MIRROR_WIDE_ARRAY_DATA_OFFSET", wide="1", is_object=… [all …]
|
/art/runtime/interpreter/mterp/x86_64ng/ |
D | array.S | 1 %def op_aget(load="movl", shift="4", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide="0", is_objec… 18 movq $data_offset(%rdi,%rsi,8), %rax 23 $load $data_offset(%rdi,%rsi,$shift), %eax 33 $load $data_offset(%rdi,%rsi,$shift), %eax 39 % op_aget(load="movzbl", shift="1", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET", is_object="0") 42 % op_aget(load="movsbl", shift="1", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET", is_object="0") 45 % op_aget(load="movzwl", shift="2", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET", is_object="0") 48 % op_aget(load="movl", shift="4", data_offset="MIRROR_OBJECT_ARRAY_DATA_OFFSET", is_object="1") 51 % op_aget(load="movswl", shift="2", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET", is_object="0") 54 % op_aget(load="movq", shift="8", data_offset="MIRROR_WIDE_ARRAY_DATA_OFFSET", wide="1", is_object… [all …]
|
/art/runtime/interpreter/mterp/armng/ |
D | array.S | 1 %def op_aget(load="ldr", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide="0", is_object… 22 ldrd r2, [r0, #$data_offset] @ r2/r3<- vBB[vCC] 28 $load r2, [r0, #$data_offset] @ w2<- vBB[vCC] 40 $load r2, [r0, #$data_offset] @ r2<- vBB[vCC] 46 % op_aget(load="ldrb", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET", wide="0", is_obj… 49 % op_aget(load="ldrsb", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET", wide="0", is_objec… 52 % op_aget(load="ldrh", shift="1", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET", wide="0", is_object… 55 % op_aget(load="ldr", shift="2", data_offset="MIRROR_OBJECT_ARRAY_DATA_OFFSET", wide="0", is_objec… 58 % op_aget(load="ldrsh", shift="1", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET", wide="0", is_obje… 61 % op_aget(load="ldrd", shift="3", data_offset="MIRROR_WIDE_ARRAY_DATA_OFFSET", wide="1", is_object… [all …]
|
/art/runtime/interpreter/mterp/x86_64/ |
D | array.S | 1 %def op_aget(load="movl", shift="4", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide="0"): 18 movq $data_offset(%rax,%rcx,8), %rax 21 $load $data_offset(%rax,%rcx,$shift), %eax 27 % op_aget(load="movzbl", shift="1", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET") 30 % op_aget(load="movsbl", shift="1", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET") 33 % op_aget(load="movzwl", shift="2", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET") 55 % op_aget(load="movswl", shift="2", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET") 58 % op_aget(load="movq", shift="8", data_offset="MIRROR_WIDE_ARRAY_DATA_OFFSET", wide="1") 60 %def op_aput(reg="rINST", store="movl", shift="4", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET", wide… 81 $store $reg, $data_offset(%rax,%rcx,$shift) [all …]
|
/art/runtime/interpreter/mterp/arm64/ |
D | array.S | 1 %def op_aget(load="ldr", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET"): 25 $load w2, [x0, #$data_offset] // w2<- vBB[vCC] 31 % op_aget(load="ldrb", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET") 34 % op_aget(load="ldrsb", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET") 37 % op_aget(load="ldrh", shift="1", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET") 62 % op_aget(load="ldrsh", shift="1", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET") 87 %def op_aput(store="str", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET"): 113 $store w2, [x0, #$data_offset] // vBB[vCC]<- w2 117 % op_aput(store="strb", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET") 120 % op_aput(store="strb", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET") [all …]
|
/art/runtime/interpreter/mterp/x86/ |
D | array.S | 1 %def op_aget(load="movl", shift="4", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET"): 17 $load $data_offset(%eax,%ecx,$shift), %eax 22 % op_aget(load="movzbl", shift="1", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET") 25 % op_aget(load="movsbl", shift="1", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET") 28 % op_aget(load="movzwl", shift="2", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET") 53 % op_aget(load="movswl", shift="2", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET") 73 %def op_aput(reg="rINST", store="movl", shift="4", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET"): 89 leal $data_offset(%eax,%ecx,$shift), %eax 95 % op_aput(reg="rINSTbl", store="movb", shift="1", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET") 98 % op_aput(reg="rINSTbl", store="movb", shift="1", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET") [all …]
|
/art/runtime/interpreter/mterp/arm/ |
D | array.S | 1 %def op_aget(load="ldr", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET"): 26 $load r2, [r0, #$data_offset] @ r2<- vBB[vCC] 32 % op_aget(load="ldrb", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET") 35 % op_aget(load="ldrsb", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET") 38 % op_aget(load="ldrh", shift="1", data_offset="MIRROR_CHAR_ARRAY_DATA_OFFSET") 64 % op_aget(load="ldrsh", shift="1", data_offset="MIRROR_SHORT_ARRAY_DATA_OFFSET") 93 %def op_aput(store="str", shift="2", data_offset="MIRROR_INT_ARRAY_DATA_OFFSET"): 120 $store r2, [r0, #$data_offset] @ vBB[vCC]<- r2 124 % op_aput(store="strb", shift="0", data_offset="MIRROR_BOOLEAN_ARRAY_DATA_OFFSET") 127 % op_aput(store="strb", shift="0", data_offset="MIRROR_BYTE_ARRAY_DATA_OFFSET") [all …]
|
/art/runtime/mirror/ |
D | array.h | 81 size_t data_offset = RoundUp(OFFSETOF_MEMBER(Array, first_element_), component_size); in DataOffset() local 82 DCHECK_EQ(RoundUp(data_offset, component_size), data_offset) in DataOffset() 84 return MemberOffset(data_offset); in DataOffset() 89 constexpr size_t data_offset = RoundUp(kFirstElementOffset, kComponentSize); in DataOffset() local 90 static_assert(RoundUp(data_offset, kComponentSize) == data_offset, "RoundUp fail"); in DataOffset() 91 return MemberOffset(data_offset); in DataOffset()
|
D | var_handle.cc | 1809 const int32_t data_offset = getter.Get(); in Access() local 1813 if (!CheckElementIndex(primitive_type, data_offset, byte_array->GetLength())) { in Access() 1829 data_offset, in Access() 1836 data_offset, in Access() 1843 data_offset, in Access() 1852 data_offset, in Access() 1859 data_offset, in Access() 1868 data_offset, in Access()
|
/art/compiler/optimizing/ |
D | instruction_simplifier_shared.cc | 235 size_t data_offset) { in TryExtractArrayAccessAddress() argument 260 HIntConstant* offset = graph->GetIntConstant(data_offset); in TryExtractArrayAccessAddress() 294 uint32_t data_offset = mirror::Array::DataOffset( in TryExtractVecArrayAccessAddress() local 308 if (another_data_offset == data_offset && another_component_shift == component_shift) { in TryExtractVecArrayAccessAddress() 316 if (another_data_offset == data_offset && another_component_shift == component_shift) { in TryExtractVecArrayAccessAddress() 328 HIntConstant* offset = graph->GetIntConstant(data_offset); in TryExtractVecArrayAccessAddress()
|
D | instruction_simplifier_arm.cc | 196 size_t data_offset = CodeGenerator::GetArrayDataOffset(instruction); in VisitArrayGet() local 223 data_offset)) { in VisitArrayGet() 230 size_t data_offset = mirror::Array::DataOffset(access_size).Uint32Value(); in VisitArraySet() local 244 data_offset)) { in VisitArraySet()
|
D | instruction_simplifier_arm64.cc | 200 size_t data_offset = CodeGenerator::GetArrayDataOffset(instruction); in VisitArrayGet() local 204 data_offset)) { in VisitArrayGet() 211 size_t data_offset = mirror::Array::DataOffset(access_size).Uint32Value(); in VisitArraySet() local 215 data_offset)) { in VisitArraySet()
|
D | instruction_simplifier_shared.h | 69 size_t data_offset);
|
D | intrinsics_x86_64.cc | 728 const uint32_t data_offset = mirror::Array::DataOffset(char_size).Uint32Value(); in VisitSystemArrayCopyChar() local 732 __ leal(src_base, Address(src, char_size * src_pos_const + data_offset)); in VisitSystemArrayCopyChar() 735 ScaleFactor::TIMES_2, data_offset)); in VisitSystemArrayCopyChar() 739 __ leal(dest_base, Address(dest, char_size * dest_pos_const + data_offset)); in VisitSystemArrayCopyChar() 742 ScaleFactor::TIMES_2, data_offset)); in VisitSystemArrayCopyChar() 779 const uint32_t data_offset = mirror::Array::DataOffset(element_size).Uint32Value(); in GenSystemArrayCopyAddresses() local 783 __ leal(src_base, Address(src, element_size * constant + data_offset)); in GenSystemArrayCopyAddresses() 785 __ leal(src_base, Address(src, src_pos.AsRegister<CpuRegister>(), scale_factor, data_offset)); in GenSystemArrayCopyAddresses() 790 __ leal(dst_base, Address(dst, element_size * constant + data_offset)); in GenSystemArrayCopyAddresses() 792 __ leal(dst_base, Address(dst, dst_pos.AsRegister<CpuRegister>(), scale_factor, data_offset)); in GenSystemArrayCopyAddresses() [all …]
|
D | code_generator_arm_vixl.cc | 6394 uint32_t data_offset = CodeGenerator::GetArrayDataOffset(instruction); in VisitArrayGet() local 6429 data_offset + const_index); in VisitArrayGet() 6435 data_offset + (const_index << 1)); in VisitArrayGet() 6440 uint32_t full_offset = data_offset + (const_index << DataType::SizeShift(type)); in VisitArrayGet() 6458 DCHECK_EQ(Uint64ConstantFrom(tmp->GetOffset()), data_offset); in VisitArrayGet() 6462 __ Add(temp, obj, data_offset); in VisitArrayGet() 6507 data_offset += Int32ConstantFrom(index) << DataType::SizeShift(type); in VisitArrayGet() 6511 data_offset, in VisitArrayGet() 6517 out_loc, obj, data_offset, index, temp, /* needs_null_check= */ false); in VisitArrayGet() 6522 size_t offset = (Int32ConstantFrom(index) << TIMES_4) + data_offset; in VisitArrayGet() [all …]
|
D | code_generator_x86_64.h | 501 uint32_t data_offset, 604 uint32_t data_offset);
|
D | code_generator_x86.h | 574 uint32_t data_offset); 592 uint32_t data_offset,
|
D | code_generator_x86.cc | 6224 uint32_t data_offset = CodeGenerator::GetArrayDataOffset(instruction); in VisitArrayGet() local 6231 __ movzxb(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_1, data_offset)); in VisitArrayGet() 6237 __ movsxb(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_1, data_offset)); in VisitArrayGet() 6252 __ movzxb(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_1, data_offset)); in VisitArrayGet() 6255 __ movzxw(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_2, data_offset)); in VisitArrayGet() 6260 __ movzxw(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_2, data_offset)); in VisitArrayGet() 6267 __ movsxw(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_2, data_offset)); in VisitArrayGet() 6273 __ movl(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_4, data_offset)); in VisitArrayGet() 6287 instruction, out_loc, obj, data_offset, index, /* needs_null_check= */ true); in VisitArrayGet() 6290 __ movl(out, CodeGeneratorX86::ArrayAddress(obj, index, TIMES_4, data_offset)); in VisitArrayGet() [all …]
|
D | code_generator_x86_64.cc | 5380 uint32_t data_offset = CodeGenerator::GetArrayDataOffset(instruction); in VisitArrayGet() local 5387 __ movzxb(out, CodeGeneratorX86_64::ArrayAddress(obj, index, TIMES_1, data_offset)); in VisitArrayGet() 5393 __ movsxb(out, CodeGeneratorX86_64::ArrayAddress(obj, index, TIMES_1, data_offset)); in VisitArrayGet() 5408 __ movzxb(out, CodeGeneratorX86_64::ArrayAddress(obj, index, TIMES_1, data_offset)); in VisitArrayGet() 5411 __ movzxw(out, CodeGeneratorX86_64::ArrayAddress(obj, index, TIMES_2, data_offset)); in VisitArrayGet() 5414 __ movzxw(out, CodeGeneratorX86_64::ArrayAddress(obj, index, TIMES_2, data_offset)); in VisitArrayGet() 5421 __ movsxw(out, CodeGeneratorX86_64::ArrayAddress(obj, index, TIMES_2, data_offset)); in VisitArrayGet() 5427 __ movl(out, CodeGeneratorX86_64::ArrayAddress(obj, index, TIMES_4, data_offset)); in VisitArrayGet() 5441 instruction, out_loc, obj, data_offset, index, /* needs_null_check= */ true); in VisitArrayGet() 5444 __ movl(out, CodeGeneratorX86_64::ArrayAddress(obj, index, TIMES_4, data_offset)); in VisitArrayGet() [all …]
|
/art/libdexfile/dex/ |
D | test_dex_file_builder.h | 107 entry.second.data_offset = data_section_size; 129 entry.second.data_offset = RoundUp(data_section_size, 4u); 130 data_section_size = entry.second.data_offset + 4u + num_args * sizeof(dex::TypeItem); 132 entry.second.data_offset = 0u; 169 uint32_t raw_offset = data_section_offset + entry.second.data_offset; 187 (num_args != 0u) ? data_section_offset + entry.second.data_offset : 0u; 193 CHECK_NE(entry.second.data_offset, 0u); 284 uint32_t data_offset; member
|
/art/runtime/ |
D | image.h | 89 uint32_t data_offset, in Block() argument 94 data_offset_(data_offset), in Block()
|
D | class_linker_test.cc | 1087 uintptr_t data_offset = in TEST_F() local 1091 EXPECT_TRUE(IsAligned<4>(data_offset)); // Check 4 byte alignment. in TEST_F() 1093 EXPECT_TRUE(IsAligned<8>(data_offset)); // Check 8 byte alignment. in TEST_F() 1102 uintptr_t data_offset = reinterpret_cast<uintptr_t>(long_array->GetData()); in TEST_F() local 1103 EXPECT_TRUE(IsAligned<8>(data_offset)); // Longs require 8 byte alignment in TEST_F() 1107 data_offset = reinterpret_cast<uintptr_t>(double_array->GetData()); in TEST_F() 1108 EXPECT_TRUE(IsAligned<8>(data_offset)); // Doubles require 8 byte alignment in TEST_F() 1112 data_offset = reinterpret_cast<uintptr_t>(int_array->GetData()); in TEST_F() 1113 EXPECT_TRUE(IsAligned<4>(data_offset)); // Ints require 4 byte alignment in TEST_F() 1117 data_offset = reinterpret_cast<uintptr_t>(char_array->GetData()); in TEST_F() [all …]
|
/art/dexlayout/ |
D | dex_ir.h | 361 uint32_t data_offset, in Header() argument 373 data_offset); in Header() 385 uint32_t data_offset, in Header() argument 410 data_offset); in Header() 536 uint32_t data_offset) { in ConstructorHelper() argument 544 data_offset_ = data_offset; in ConstructorHelper()
|
/art/compiler/debug/ |
D | elf_debug_info_writer.h | 309 uint32_t data_offset = mirror::Array::DataOffset(component_size).Uint32Value(); in Write() local 317 info_.WriteUdata(DW_AT_data_member_location, data_offset); in Write()
|
/art/imgdiag/ |
D | imgdiag.cc | 477 size_t data_offset = mirror::Array::DataOffset(component_size).Uint32Value(); in DiffEntryContents() local 478 DCHECK_ALIGNED_PARAM(data_offset, component_size); in DiffEntryContents() 479 if (i >= data_offset) { in DiffEntryContents() 480 os_ << tabs << "Dirty array element " << (i - data_offset) / component_size << "\n"; in DiffEntryContents()
|