/art/dex2oat/linker/arm/ |
D | relative_patcher_thumb2_test.cc | 279 static uint32_t EncodeBakerReadBarrierFieldData(uint32_t base_reg, in EncodeBakerReadBarrierFieldData() argument 282 return arm::CodeGeneratorARMVIXL::EncodeBakerReadBarrierFieldData(base_reg, holder_reg, narrow); in EncodeBakerReadBarrierFieldData() 285 static uint32_t EncodeBakerReadBarrierArrayData(uint32_t base_reg) { in EncodeBakerReadBarrierArrayData() argument 286 return arm::CodeGeneratorARMVIXL::EncodeBakerReadBarrierArrayData(base_reg); in EncodeBakerReadBarrierArrayData() 293 std::vector<uint8_t> CompileBakerOffsetThunk(uint32_t base_reg, in CompileBakerOffsetThunk() argument 297 /* literal_offset */ 0u, EncodeBakerReadBarrierFieldData(base_reg, holder_reg, narrow)); in CompileBakerOffsetThunk() 301 std::vector<uint8_t> CompileBakerArrayThunk(uint32_t base_reg) { in CompileBakerArrayThunk() argument 303 /* literal_offset */ 0u, EncodeBakerReadBarrierArrayData(base_reg)); in CompileBakerArrayThunk() 710 for (uint32_t base_reg : kBakerValidRegs) { in TestBakerFieldWide() local 712 uint32_t ldr = kLdrWInsn | offset | (base_reg << 16) | (ref_reg << 12); in TestBakerFieldWide() [all …]
|
/art/dex2oat/linker/arm64/ |
D | relative_patcher_arm64_test.cc | 520 static uint32_t EncodeBakerReadBarrierFieldData(uint32_t base_reg, uint32_t holder_reg) { in EncodeBakerReadBarrierFieldData() argument 521 return arm64::CodeGeneratorARM64::EncodeBakerReadBarrierFieldData(base_reg, holder_reg); in EncodeBakerReadBarrierFieldData() 524 static uint32_t EncodeBakerReadBarrierArrayData(uint32_t base_reg) { in EncodeBakerReadBarrierArrayData() argument 525 return arm64::CodeGeneratorARM64::EncodeBakerReadBarrierArrayData(base_reg); in EncodeBakerReadBarrierArrayData() 532 std::vector<uint8_t> CompileBakerOffsetThunk(uint32_t base_reg, uint32_t holder_reg) { in CompileBakerOffsetThunk() argument 534 /* literal_offset */ 0u, EncodeBakerReadBarrierFieldData(base_reg, holder_reg)); in CompileBakerOffsetThunk() 538 std::vector<uint8_t> CompileBakerArrayThunk(uint32_t base_reg) { in CompileBakerArrayThunk() argument 540 /* literal_offset */ 0u, EncodeBakerReadBarrierArrayData(base_reg)); in CompileBakerArrayThunk() 1051 for (uint32_t base_reg : valid_regs) { in TestBakerField() local 1053 uint32_t ldr = kLdrWInsn | (offset << (10 - 2)) | (base_reg << 5) | ref_reg; in TestBakerField() [all …]
|
/art/compiler/optimizing/ |
D | code_generator_arm64.h | 997 static inline uint32_t EncodeBakerReadBarrierFieldData(uint32_t base_reg, uint32_t holder_reg) { in EncodeBakerReadBarrierFieldData() argument 998 CheckValidReg(base_reg); in EncodeBakerReadBarrierFieldData() 1001 BakerReadBarrierFirstRegField::Encode(base_reg) | in EncodeBakerReadBarrierFieldData() 1005 static inline uint32_t EncodeBakerReadBarrierAcquireData(uint32_t base_reg, uint32_t holder_reg) { in EncodeBakerReadBarrierAcquireData() argument 1006 CheckValidReg(base_reg); in EncodeBakerReadBarrierAcquireData() 1008 DCHECK_NE(base_reg, holder_reg); in EncodeBakerReadBarrierAcquireData() 1010 BakerReadBarrierFirstRegField::Encode(base_reg) | in EncodeBakerReadBarrierAcquireData() 1014 static inline uint32_t EncodeBakerReadBarrierArrayData(uint32_t base_reg) { in EncodeBakerReadBarrierArrayData() argument 1015 CheckValidReg(base_reg); in EncodeBakerReadBarrierArrayData() 1017 BakerReadBarrierFirstRegField::Encode(base_reg) | in EncodeBakerReadBarrierArrayData()
|
D | code_generator_arm_vixl.h | 853 static uint32_t EncodeBakerReadBarrierFieldData(uint32_t base_reg, in EncodeBakerReadBarrierFieldData() argument 856 CheckValidReg(base_reg); in EncodeBakerReadBarrierFieldData() 858 DCHECK(!narrow || base_reg < 8u) << base_reg; in EncodeBakerReadBarrierFieldData() 862 BakerReadBarrierFirstRegField::Encode(base_reg) | in EncodeBakerReadBarrierFieldData() 867 static uint32_t EncodeBakerReadBarrierArrayData(uint32_t base_reg) { in EncodeBakerReadBarrierArrayData() argument 868 CheckValidReg(base_reg); in EncodeBakerReadBarrierArrayData() 870 BakerReadBarrierFirstRegField::Encode(base_reg) | in EncodeBakerReadBarrierArrayData()
|
D | code_generator_arm64.cc | 1009 const uint32_t base_reg = BakerReadBarrierFirstRegField::Decode(encoded_data); in Finalize() local 1012 CHECK_EQ(next_insn & 0xffc003e0u, 0xb9400000u | (base_reg << 5)); in Finalize() 1016 CHECK_EQ(next_insn & 0xffffffe0u, 0x88dffc00u | (base_reg << 5)); in Finalize() 1026 const uint32_t base_reg = BakerReadBarrierFirstRegField::Decode(encoded_data); in Finalize() local 1027 CHECK_EQ(next_insn & 0xffe0ffe0u, 0xb8607800u | (base_reg << 5)); in Finalize() 6933 vixl::aarch64::Register base_reg, in EmitGrayCheckAndFastPath() argument 6958 __ Add(base_reg, base_reg, Operand(ip0, LSR, 32)); in EmitGrayCheckAndFastPath() 6980 Register base_reg = in CompileBakerReadBarrierThunk() local 6982 CheckValidReg(base_reg.GetCode()); in CompileBakerReadBarrierThunk() 7001 (holder_reg.Is(base_reg) || (kind == BakerReadBarrierKind::kAcquire))) { in CompileBakerReadBarrierThunk() [all …]
|
D | code_generator_arm_vixl.cc | 1997 const uint32_t base_reg = BakerReadBarrierFirstRegField::Decode(encoded_data); in Finalize() local 1998 CHECK_EQ(next_insn & 0xffff0000u, 0xf8d00000u | (base_reg << 16)); in Finalize() 2004 const uint32_t base_reg = BakerReadBarrierFirstRegField::Decode(encoded_data); in Finalize() local 2005 CHECK_EQ(next_insn & 0xf838u, 0x6800u | (base_reg << 3)); in Finalize() 2014 const uint32_t base_reg = BakerReadBarrierFirstRegField::Decode(encoded_data); in Finalize() local 2015 CHECK_EQ(next_insn & 0xffff0ff0u, 0xf8500020u | (base_reg << 16)); in Finalize() 9902 vixl32::Register base_reg, in EmitGrayCheckAndFastPath() argument 9922 __ Add(base_reg, base_reg, Operand(ip, LSR, 32)); in EmitGrayCheckAndFastPath() 9946 vixl32::Register base_reg(BakerReadBarrierFirstRegField::Decode(encoded_data)); in CompileBakerReadBarrierThunk() local 9947 CheckValidReg(base_reg.GetCode()); in CompileBakerReadBarrierThunk() [all …]
|
D | code_generator_x86.cc | 5211 Register base_reg = GetInvokeExtraParameter(invoke, temp.AsRegister<Register>()); in LoadMethod() local 5213 Address(base_reg, CodeGeneratorX86::kPlaceholder32BitOffset)); in LoadMethod() 5221 Register base_reg = GetInvokeExtraParameter(invoke, temp.AsRegister<Register>()); in LoadMethod() local 5222 __ movl(temp.AsRegister<Register>(), Address(base_reg, kPlaceholder32BitOffset)); in LoadMethod() 5229 Register base_reg = GetInvokeExtraParameter(invoke, temp.AsRegister<Register>()); in LoadMethod() local 5230 __ movl(temp.AsRegister<Register>(), Address(base_reg, kPlaceholder32BitOffset)); in LoadMethod() 5293 Register base_reg = GetInvokeExtraParameter(invoke, temp.AsRegister<Register>()); in GenerateStaticOrDirectCall() local 5294 __ call(Address(base_reg, CodeGeneratorX86::kPlaceholder32BitOffset)); in GenerateStaticOrDirectCall()
|
D | code_generator_x86_64.cc | 7644 CpuRegister base_reg = locations->GetTemp(1).AsRegister<CpuRegister>(); in VisitPackedSwitch() local 7707 __ leaq(base_reg, codegen_->LiteralCaseTable(switch_instr)); in VisitPackedSwitch() 7710 __ movsxd(temp_reg, Address(base_reg, value_reg, TIMES_4, 0)); in VisitPackedSwitch() 7713 __ addq(temp_reg, base_reg); in VisitPackedSwitch()
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.cc | 620 vixl32::Register base_reg; in MoveArguments() local 622 base_reg = sp; in MoveArguments() 624 base_reg = temps2.Acquire(); in MoveArguments() 625 ___ Add(base_reg, sp, frame_offset); in MoveArguments() 631 ___ Stm(base_reg, NO_WRITE_BACK, RegisterList(core_reg_mask)); in MoveArguments() 642 ___ Vstm(F64, base_reg, NO_WRITE_BACK, dreg_list); in MoveArguments() 646 ___ Vstm(F32, base_reg, NO_WRITE_BACK, sreg_list); in MoveArguments()
|