/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 | 949 static inline uint32_t EncodeBakerReadBarrierFieldData(uint32_t base_reg, uint32_t holder_reg) { in EncodeBakerReadBarrierFieldData() argument 950 CheckValidReg(base_reg); in EncodeBakerReadBarrierFieldData() 953 BakerReadBarrierFirstRegField::Encode(base_reg) | in EncodeBakerReadBarrierFieldData() 957 static inline uint32_t EncodeBakerReadBarrierAcquireData(uint32_t base_reg, uint32_t holder_reg) { in EncodeBakerReadBarrierAcquireData() argument 958 CheckValidReg(base_reg); in EncodeBakerReadBarrierAcquireData() 960 DCHECK_NE(base_reg, holder_reg); in EncodeBakerReadBarrierAcquireData() 962 BakerReadBarrierFirstRegField::Encode(base_reg) | in EncodeBakerReadBarrierAcquireData() 966 static inline uint32_t EncodeBakerReadBarrierArrayData(uint32_t base_reg) { in EncodeBakerReadBarrierArrayData() argument 967 CheckValidReg(base_reg); in EncodeBakerReadBarrierArrayData() 969 BakerReadBarrierFirstRegField::Encode(base_reg) | in EncodeBakerReadBarrierArrayData()
|
D | code_generator_arm_vixl.h | 838 static uint32_t EncodeBakerReadBarrierFieldData(uint32_t base_reg, in EncodeBakerReadBarrierFieldData() argument 841 CheckValidReg(base_reg); in EncodeBakerReadBarrierFieldData() 843 DCHECK(!narrow || base_reg < 8u) << base_reg; in EncodeBakerReadBarrierFieldData() 847 BakerReadBarrierFirstRegField::Encode(base_reg) | in EncodeBakerReadBarrierFieldData() 852 static uint32_t EncodeBakerReadBarrierArrayData(uint32_t base_reg) { in EncodeBakerReadBarrierArrayData() argument 853 CheckValidReg(base_reg); in EncodeBakerReadBarrierArrayData() 855 BakerReadBarrierFirstRegField::Encode(base_reg) | in EncodeBakerReadBarrierArrayData()
|
D | code_generator_arm64.cc | 1024 const uint32_t base_reg = BakerReadBarrierFirstRegField::Decode(encoded_data); in Finalize() local 1027 CHECK_EQ(next_insn & 0xffc003e0u, 0xb9400000u | (base_reg << 5)); in Finalize() 1031 CHECK_EQ(next_insn & 0xffffffe0u, 0x88dffc00u | (base_reg << 5)); in Finalize() 1041 const uint32_t base_reg = BakerReadBarrierFirstRegField::Decode(encoded_data); in Finalize() local 1042 CHECK_EQ(next_insn & 0xffe0ffe0u, 0xb8607800u | (base_reg << 5)); in Finalize() 6684 vixl::aarch64::Register base_reg, in EmitGrayCheckAndFastPath() argument 6709 __ Add(base_reg, base_reg, Operand(ip0, LSR, 32)); in EmitGrayCheckAndFastPath() 6731 auto base_reg = in CompileBakerReadBarrierThunk() local 6733 CheckValidReg(base_reg.GetCode()); in CompileBakerReadBarrierThunk() 6752 (holder_reg.Is(base_reg) || (kind == BakerReadBarrierKind::kAcquire))) { in CompileBakerReadBarrierThunk() [all …]
|
D | code_generator_arm_vixl.cc | 1974 const uint32_t base_reg = BakerReadBarrierFirstRegField::Decode(encoded_data); in Finalize() local 1975 CHECK_EQ(next_insn & 0xffff0000u, 0xf8d00000u | (base_reg << 16)); in Finalize() 1981 const uint32_t base_reg = BakerReadBarrierFirstRegField::Decode(encoded_data); in Finalize() local 1982 CHECK_EQ(next_insn & 0xf838u, 0x6800u | (base_reg << 3)); in Finalize() 1991 const uint32_t base_reg = BakerReadBarrierFirstRegField::Decode(encoded_data); in Finalize() local 1992 CHECK_EQ(next_insn & 0xffff0ff0u, 0xf8500020u | (base_reg << 16)); in Finalize() 9740 vixl32::Register base_reg, in EmitGrayCheckAndFastPath() argument 9760 __ Add(base_reg, base_reg, Operand(ip, LSR, 32)); in EmitGrayCheckAndFastPath() 9784 vixl32::Register base_reg(BakerReadBarrierFirstRegField::Decode(encoded_data)); in CompileBakerReadBarrierThunk() local 9785 CheckValidReg(base_reg.GetCode()); in CompileBakerReadBarrierThunk() [all …]
|
D | code_generator_x86.cc | 5027 Register base_reg = GetInvokeStaticOrDirectExtraParameter(invoke, in GenerateStaticOrDirectCall() local 5030 Address(base_reg, CodeGeneratorX86::kPlaceholder32BitOffset)); in GenerateStaticOrDirectCall() 5035 Register base_reg = GetInvokeStaticOrDirectExtraParameter(invoke, in GenerateStaticOrDirectCall() local 5037 __ movl(temp.AsRegister<Register>(), Address(base_reg, kPlaceholder32BitOffset)); in GenerateStaticOrDirectCall() 5044 Register base_reg = GetInvokeStaticOrDirectExtraParameter(invoke, in GenerateStaticOrDirectCall() local 5046 __ movl(temp.AsRegister<Register>(), Address(base_reg, kPlaceholder32BitOffset)); in GenerateStaticOrDirectCall()
|
D | code_generator_x86_64.cc | 7505 CpuRegister base_reg = locations->GetTemp(1).AsRegister<CpuRegister>(); in VisitPackedSwitch() local 7568 __ leaq(base_reg, codegen_->LiteralCaseTable(switch_instr)); in VisitPackedSwitch() 7571 __ movsxd(temp_reg, Address(base_reg, value_reg, TIMES_4, 0)); in VisitPackedSwitch() 7574 __ addq(temp_reg, base_reg); in VisitPackedSwitch()
|
/art/compiler/utils/arm/ |
D | jni_macro_assembler_arm_vixl.cc | 568 vixl32::Register base_reg; in MoveArguments() local 570 base_reg = sp; in MoveArguments() 572 base_reg = temps2.Acquire(); in MoveArguments() 573 ___ Add(base_reg, sp, frame_offset); in MoveArguments() 579 ___ Stm(base_reg, NO_WRITE_BACK, RegisterList(core_reg_mask)); in MoveArguments() 590 ___ Vstm(F64, base_reg, NO_WRITE_BACK, dreg_list); in MoveArguments() 594 ___ Vstm(F32, base_reg, NO_WRITE_BACK, sreg_list); in MoveArguments()
|