Home
last modified time | relevance | path

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

/art/compiler/trampolines/
Dtrampoline_compiler.cc39 #define __ assembler.
49 #define ___ assembler.GetVIXLAssembler()->
57 ArmVIXLAssembler assembler(allocator); in CreateTrampoline() local
64 vixl::aarch32::UseScratchRegisterScope temps(assembler.GetVIXLAssembler()); in CreateTrampoline()
95 Arm64Assembler assembler(allocator); in CreateTrampoline() local
134 X86Assembler assembler(allocator); in CreateTrampoline() local
155 x86_64::X86_64Assembler assembler(allocator); in CreateTrampoline() local
/art/compiler/optimizing/
Dintrinsics_arm_vixl.cc40 #define __ assembler->GetVIXLAssembler()->
75 static void GenSystemArrayCopyBaseAddress(ArmVIXLAssembler* assembler, in GenSystemArrayCopyBaseAddress() argument
98 static void GenSystemArrayCopyEndAddress(ArmVIXLAssembler* assembler, in GenSystemArrayCopyEndAddress() argument
129 ArmVIXLAssembler* assembler = arm_codegen->GetAssembler(); in EmitNativeCode() local
150 GenSystemArrayCopyBaseAddress(assembler, type, dest, dest_pos, dst_curr_addr); in EmitNativeCode()
155 assembler->MaybeUnpoisonHeapReference(tmp); in EmitNativeCode()
180 assembler->MaybePoisonHeapReference(tmp); in EmitNativeCode()
224 static void MoveFPToInt(LocationSummary* locations, bool is64bit, ArmVIXLAssembler* assembler) { in MoveFPToInt() argument
234 static void MoveIntToFP(LocationSummary* locations, bool is64bit, ArmVIXLAssembler* assembler) { in MoveIntToFP() argument
305 ArmVIXLAssembler* assembler = codegen->GetAssembler(); in GenNumberOfLeadingZeros() local
[all …]
Dintrinsics_x86.cc168 #define __ assembler->
191 static void MoveFPToInt(LocationSummary* locations, bool is64bit, X86Assembler* assembler) { in MoveFPToInt() argument
206 static void MoveIntToFP(LocationSummary* locations, bool is64bit, X86Assembler* assembler) { in MoveIntToFP() argument
273 X86Assembler* assembler) { in GenReverseBytes() argument
312 X86Assembler* assembler = GetAssembler(); in VisitLongReverseBytes() local
358 static void GenSSE41FPToFPIntrinsic(HInvoke* invoke, X86Assembler* assembler, int round_mode) { in GenSSE41FPToFPIntrinsic() argument
420 X86Assembler* assembler = GetAssembler(); in VisitMathRoundFloat() local
479 X86Assembler* assembler = codegen->GetAssembler(); in GenFPToFPCall() local
516 static void GenLowestOneBit(X86Assembler* assembler, in GenLowestOneBit() argument
825 static void CheckPosition(X86Assembler* assembler, in CheckPosition() argument
[all …]
Dintrinsics_x86_64.cc124 #define __ assembler->
140 static void MoveFPToInt(LocationSummary* locations, bool is64bit, X86_64Assembler* assembler) { in MoveFPToInt() argument
146 static void MoveIntToFP(LocationSummary* locations, bool is64bit, X86_64Assembler* assembler) { in MoveIntToFP() argument
214 X86_64Assembler* assembler = codegen->GetAssembler(); in GenIsInfinite() local
302 static void GenSSE41FPToFPIntrinsic(HInvoke* invoke, X86_64Assembler* assembler, int round_mode) { in GenSSE41FPToFPIntrinsic() argument
363 X86_64Assembler* assembler = GetAssembler(); in VisitMathRoundFloat() local
404 X86_64Assembler* assembler = GetAssembler(); in VisitMathRoundDouble() local
655 static void CheckPosition(X86_64Assembler* assembler, in CheckPosition() argument
720 X86_64Assembler* assembler, in SystemArrayCopyPrimitive() argument
761 CheckPosition(assembler, src_pos, src, length, slow_path, src_base); in SystemArrayCopyPrimitive()
[all …]
Dintrinsics_utils.h58 TAssembler* assembler = down_cast<TAssembler*>(codegen->GetAssembler()); in EmitNativeCode() local
59 assembler->Bind(this->GetEntryLabel()); in EmitNativeCode()
92 assembler->Jump(this->GetExitLabel()); in EmitNativeCode()
Dcode_generator_arm64.cc5300 Arm64Assembler assembler(GetGraph()->GetAllocator()); in EmitThunkCode() local
5307 assembler.JumpTo(ManagedRegister(arm64::X0), offset, ManagedRegister(arm64::IP0)); in EmitThunkCode()
5315 assembler.JumpTo(ManagedRegister(arm64::TR), offset, ManagedRegister(arm64::IP0)); in EmitThunkCode()
5323 CompileBakerReadBarrierThunk(assembler, patch.GetBakerCustomValue1(), debug_name); in EmitThunkCode()
5332 assembler.FinalizeCode(); in EmitThunkCode()
5333 code->resize(assembler.CodeSize()); in EmitThunkCode()
5335 assembler.FinalizeInstructions(code_region); in EmitThunkCode()
7110 #define __ assembler.GetVIXLAssembler()->
7112 static void EmitGrayCheckAndFastPath(arm64::Arm64Assembler& assembler, in EmitGrayCheckAndFastPath() argument
7151 static void LoadReadBarrierMarkIntrospectionEntrypoint(arm64::Arm64Assembler& assembler, in LoadReadBarrierMarkIntrospectionEntrypoint() argument
[all …]
Dcode_generator_arm_vixl.cc117 EmitAdrCode(ArmVIXLMacroAssembler* assembler, vixl32::Register rd, vixl32::Label* label) in EmitAdrCode() argument
118 : assembler_(assembler), rd_(rd), label_(label) { in EmitAdrCode()
119 DCHECK(!assembler->AllowMacroInstructions()); // In ExactAssemblyScope. in EmitAdrCode()
120 adr_location_ = assembler->GetCursorOffset(); in EmitAdrCode()
121 assembler->adr(EncodingSize(Wide), rd, label); in EmitAdrCode()
6119 ArmVIXLAssembler* assembler = codegen->GetAssembler(); in CanEncode32BitConstantAsImmediate() local
6120 if (assembler->ShifterOperandCanHold(opcode, value, flags_update)) { in CanEncode32BitConstantAsImmediate()
6137 if (assembler->ShifterOperandCanHold(neg_opcode, neg_value, flags_update)) { in CanEncode32BitConstantAsImmediate()
9796 arm::ArmVIXLAssembler assembler(GetGraph()->GetAllocator()); in EmitThunkCode() local
9802 assembler.LoadFromOffset(arm::kLoadWord, vixl32::pc, vixl32::r0, offset.Int32Value()); in EmitThunkCode()
[all …]
Dintrinsics_arm64.cc1122 Arm64Assembler* assembler = codegen->GetAssembler(); in EmitLoadExclusive() local
1123 MacroAssembler* masm = assembler->GetVIXLAssembler(); in EmitLoadExclusive()
1163 assembler->MaybeUnpoisonHeapReference(old_value); in EmitLoadExclusive()
1176 Arm64Assembler* assembler = codegen->GetAssembler(); in EmitStoreExclusive() local
1177 MacroAssembler* masm = assembler->GetVIXLAssembler(); in EmitStoreExclusive()
1179 assembler->MaybePoisonHeapReference(new_value); in EmitStoreExclusive()
1213 assembler->MaybeUnpoisonHeapReference(new_value); in EmitStoreExclusive()
1239 Arm64Assembler* assembler = codegen->GetAssembler(); in GenerateCompareAndSet() local
1240 MacroAssembler* masm = assembler->GetVIXLAssembler(); in GenerateCompareAndSet()
1336 Arm64Assembler* assembler = arm64_codegen->GetAssembler(); in EmitNativeCode() local
[all …]
Doptimizing_cfi_test_expected.inc142 // as with the old assembler.
Dcode_generator_x86_64.cc8095 X86_64Assembler* assembler = codegen_->GetAssembler(); in CreateJumpTable() local
8098 const int32_t offset_in_constant_table = assembler->ConstantAreaSize(); in CreateJumpTable()
8102 const int32_t current_table_offset = assembler->CodeSize() + offset_in_constant_table; in CreateJumpTable()
8114 assembler->AppendInt32(offset_to_block); in CreateJumpTable()
8124 X86_64Assembler* assembler = GetAssembler(); in Finalize() local
8125 if (!assembler->IsConstantAreaEmpty() || !fixups_to_jump_tables_.empty()) { in Finalize()
8127 assembler->Align(4, 0); in Finalize()
8128 constant_area_start_ = assembler->CodeSize(); in Finalize()
8136 assembler->AddConstantArea(); in Finalize()
Dcode_generator_arm_vixl.h958 void CompileBakerReadBarrierThunk(ArmVIXLAssembler& assembler,
Dcode_generator_arm64.h1073 void CompileBakerReadBarrierThunk(Arm64Assembler& assembler,
Dcode_generator_x86.cc8852 X86Assembler* assembler = codegen_->GetAssembler(); in CreateJumpTable() local
8855 const int32_t offset_in_constant_table = assembler->ConstantAreaSize(); in CreateJumpTable()
8872 assembler->AppendInt32(offset_to_block); in CreateJumpTable()
8882 X86Assembler* assembler = GetAssembler(); in Finalize() local
8884 if (!assembler->IsConstantAreaEmpty() || !fixups_to_jump_tables_.empty()) { in Finalize()
8887 assembler->Align(4, 0); in Finalize()
8888 constant_area_start_ = assembler->CodeSize(); in Finalize()
8896 assembler->AddConstantArea(); in Finalize()
/art/compiler/utils/x86_64/
Dassembler_x86_64_test.cc642 std::string shll_fn(AssemblerX86_64Test::Base* assembler_test, x86_64::X86_64Assembler* assembler) { in shll_fn() argument
647 assembler->shll(*reg, shifter); in shll_fn()
663 std::string shlq_fn(AssemblerX86_64Test::Base* assembler_test, x86_64::X86_64Assembler* assembler) { in shlq_fn() argument
668 assembler->shlq(*reg, shifter); in shlq_fn()
684 std::string shrl_fn(AssemblerX86_64Test::Base* assembler_test, x86_64::X86_64Assembler* assembler) { in shrl_fn() argument
689 assembler->shrl(*reg, shifter); in shrl_fn()
704 std::string shrq_fn(AssemblerX86_64Test::Base* assembler_test, x86_64::X86_64Assembler* assembler) { in shrq_fn() argument
709 assembler->shrq(*reg, shifter); in shrq_fn()
724 std::string sarl_fn(AssemblerX86_64Test::Base* assembler_test, x86_64::X86_64Assembler* assembler) { in sarl_fn() argument
729 assembler->sarl(*reg, shifter); in sarl_fn()
[all …]
Djni_macro_assembler_x86_64.cc144 static void DecreaseFrameSizeImpl(size_t adjust, X86_64Assembler* assembler) { in DecreaseFrameSizeImpl() argument
147 assembler->addq(CpuRegister(RSP), Immediate(adjust)); in DecreaseFrameSizeImpl()
148 assembler->cfi().AdjustCFAOffset(-adjust); in DecreaseFrameSizeImpl()
/art/compiler/utils/
Dassembler_thumb_test.cc45 ArmVIXLAssemblerTest() : pool(), allocator(&pool), assembler(&allocator) { } in ArmVIXLAssemblerTest()
75 #define __ assembler.
89 #define __ assembler.
93 ArmVIXLJNIMacroAssembler assembler; member in art::arm::ArmVIXLAssemblerTest
257 #define __ assembler.asm_.
279 vixl::aarch32::UseScratchRegisterScope temps(assembler.asm_.GetVIXLAssembler()); in TEST_F()
312 vixl::aarch32::UseScratchRegisterScope temps(assembler.asm_.GetVIXLAssembler()); in TEST_F()
/art/test/538-checker-embed-constants/
Dinfo.txt1 Test embedding of constants in assembler instructions.
/art/compiler/utils/x86/
Djni_macro_assembler_x86.cc115 static void DecreaseFrameSizeImpl(X86Assembler* assembler, size_t adjust) { in DecreaseFrameSizeImpl() argument
118 assembler->addl(ESP, Immediate(adjust)); in DecreaseFrameSizeImpl()
119 assembler->cfi().AdjustCFAOffset(-adjust); in DecreaseFrameSizeImpl()
Dassembler_x86_test.cc511 std::string rorl_fn(AssemblerX86Test::Base* assembler_test, x86::X86Assembler* assembler) { in rorl_fn() argument
516 assembler->rorl(*reg, shifter); in rorl_fn()
531 std::string roll_fn(AssemblerX86Test::Base* assembler_test, x86::X86Assembler* assembler) { in roll_fn() argument
536 assembler->roll(*reg, shifter); in roll_fn()
/art/test/
DREADME.md14 [Jasmin](http://jasmin.sourceforge.net/) assembler or the
/art/compiler/
DAndroid.bp96 "utils/assembler.cc",