Searched refs:sp (Results 1 - 25 of 26) sorted by path

12

/art/compiler/optimizing/
H A Dcode_generator_arm64.cc492 __ Sub(temp, sp, static_cast<int32_t>(GetStackOverflowReservedBytes(kArm64)));
500 // sp[frame_size - 8] : lr.
504 // sp[0] : current method.
505 __ Str(kArtMethodRegister, MemOperand(sp, -frame_size, PreIndex));
670 __ Str(reg, MemOperand(sp, stack_index));
676 __ Ldr(reg, MemOperand(sp, stack_index));
682 __ Str(reg, MemOperand(sp, stack_index));
688 __ Ldr(reg, MemOperand(sp, stack_index));
971 __ Ldr(current_method, MemOperand(sp, kCurrentMethodStackOffset));
2080 __ Ldr(temp.W(), MemOperand(sp, receive
[all...]
H A Dcommon_arm64.h145 return vixl::MemOperand(vixl::sp, location.GetStackIndex());
/art/compiler/utils/arm64/
H A Dassembler_arm64.cc654 const Register sp = vixl_masm_->StackPointer(); local
658 ___ Stp(dst0, dst1, MemOperand(sp, offset));
665 ___ Str(dst0, MemOperand(sp, offset));
673 const Register sp = vixl_masm_->StackPointer(); local
677 ___ Ldp(dst0, dst1, MemOperand(sp, offset));
684 ___ Ldr(dst0, MemOperand(sp, offset));
H A Dassembler_arm64.h188 return vixl::sp;
H A Dmanaged_register_arm64_test.cc631 EXPECT_TRUE(vixl::sp.Is(Arm64Assembler::reg_x(SP)));
/art/runtime/arch/arm/
H A Dfault_handler_arm.cc73 VLOG(signals) << "sp: " << *out_sp;
199 // sub r12,sp,#16384
212 VLOG(signals) << "stack overflow handler with sp at " << std::hex << &uc;
215 uintptr_t sp = sc->arm_sp; local
216 VLOG(signals) << "sp: " << std::hex << sp; local
220 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp <<
223 uintptr_t overflow_addr = sp - GetStackOverflowReservedBytes(kArm);
H A Djni_entrypoints_arm.S31 sub sp, #12 @ pad stack pointer to align frame
35 add sp, #12 @ restore stack pointer
H A Dquick_entrypoints_arm.S44 sub sp, #12 @ 3 words of space, bottom word will hold Method*
49 str \rTemp1, [sp, #0] @ Place Method* at bottom of stack.
50 str sp, [r9, #THREAD_TOP_QUICK_FRAME_OFFSET] @ Place sp in Thread::Current()->top_quick_frame.
72 sub sp, #4 @ bottom word will hold Method*
77 str \rTemp1, [sp, #0] @ Place Method* at bottom of stack.
78 str sp, [r9, #THREAD_TOP_QUICK_FRAME_OFFSET] @ Place sp in Thread::Current()->top_quick_frame.
87 add sp, #4 @ bottom word holds Method*
124 sub sp, #
[all...]
/art/runtime/arch/arm64/
H A Dfault_handler_arm64.cc61 *out_sp = static_cast<uintptr_t>(sc->sp);
62 VLOG(signals) << "sp: " << *out_sp;
166 VLOG(signals) << "stack overflow handler with sp at " << std::hex << &uc;
169 uintptr_t sp = sc->sp; local
170 VLOG(signals) << "sp: " << std::hex << sp; local
174 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp <<
177 uintptr_t overflow_addr = sp
[all...]
H A Djni_entrypoints_arm64.S27 stp x29, x30, [sp, #-16]!
28 mov x29, sp
29 stp d6, d7, [sp, #-16]!
30 stp d4, d5, [sp, #-16]!
31 stp d2, d3, [sp, #-16]!
32 stp d0, d1, [sp, #-16]!
33 stp x6, x7, [sp, #-16]!
34 stp x4, x5, [sp, #-16]!
35 stp x2, x3, [sp, #-16]!
36 stp x0, x1, [sp, #
[all...]
H A Dquick_entrypoints_arm64.S38 sub sp, sp, #176
47 stp d8, d9, [sp, #8]
48 stp d10, d11, [sp, #24]
49 stp d12, d13, [sp, #40]
50 stp d14, d15, [sp, #56]
53 stp xSELF, x19, [sp, #72]
58 stp x20, x21, [sp, #88]
62 stp x22, x23, [sp, #104]
66 stp x24, x25, [sp, #12
[all...]
/art/runtime/arch/mips/
H A Dasm_support_mips.S38 .cfi_def_cfa $sp,0
54 .cfi_def_cfa $sp,0
H A Dfault_handler_mips.cc48 VLOG(signals) << "sp: " << *out_sp;
101 // lw zero, -16384(sp)
103 // It will fault if sp is inside the protected region on the stack.
111 VLOG(signals) << "stack overflow handler with sp at " << std::hex << &uc;
114 uintptr_t sp = sc->sc_regs[29]; // SP register local
115 VLOG(signals) << "sp: " << std::hex << sp; local
119 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp <<
122 uintptr_t overflow_addr = sp
[all...]
H A Djni_entrypoints_mips.S27 addiu $sp, $sp, -32 # leave room for $a0, $a1, $a2, $a3, and $ra
29 sw $ra, 16($sp)
31 sw $a3, 12($sp)
33 sw $a2, 8($sp)
35 sw $a1, 4($sp)
37 sw $a0, 0($sp)
41 lw $a0, 0($sp) # restore registers from stack
42 lw $a1, 4($sp)
43 lw $a2, 8($sp)
[all...]
H A Dquick_entrypoints_mips.S35 * Clobbers $t0 and $sp
40 addiu $sp, $sp, -96
48 sw $ra, 92($sp)
50 sw $s8, 88($sp)
52 sw $gp, 84($sp)
54 sw $s7, 80($sp)
56 sw $s6, 76($sp)
58 sw $s5, 72($sp)
60 sw $s4, 68($sp)
[all...]
/art/runtime/arch/mips64/
H A Dasm_support_mips64.S43 .cfi_def_cfa $sp,0
57 .cfi_def_cfa $sp,0
H A Dfault_handler_mips64.cc48 VLOG(signals) << "sp: " << *out_sp;
101 // lw zero, -16384(sp)
103 // It will fault if sp is inside the protected region on the stack.
111 VLOG(signals) << "stack overflow handler with sp at " << std::hex << &uc;
114 uintptr_t sp = sc->sc_regs[29]; // SP register local
115 VLOG(signals) << "sp: " << std::hex << sp; local
119 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp <<
122 uintptr_t overflow_addr = sp
[all...]
H A Djni_entrypoints_mips64.S27 daddiu $sp, $sp, -80 # save a0-a7 and $ra
29 sd $ra, 64($sp)
31 sd $a7, 56($sp)
33 sd $a6, 48($sp)
35 sd $a5, 40($sp)
37 sd $a4, 32($sp)
39 sd $a3, 24($sp)
41 sd $a2, 16($sp)
43 sd $a1, 8($sp)
[all...]
H A Dquick_entrypoints_mips64.S48 daddiu $sp, $sp, -160
56 sd $ra, 152($sp)
58 sd $s8, 144($sp)
60 sd $t8, 136($sp) # t8 holds caller's gp, now save it to the stack.
62 sd $s7, 128($sp)
64 sd $s6, 120($sp)
66 sd $s5, 112($sp)
68 sd $s4, 104($sp)
70 sd $s3, 96($sp)
[all...]
/art/runtime/arch/x86/
H A Dfault_handler_x86.cc256 VLOG(signals) << "sp: " << std::hex << *out_sp;
298 uint8_t* sp = reinterpret_cast<uint8_t*>(uc->CTX_ESP); local
313 uintptr_t* next_sp = reinterpret_cast<uintptr_t*>(sp - sizeof(uintptr_t));
356 uint8_t* sp = reinterpret_cast<uint8_t*>(uc->CTX_ESP); local
387 uintptr_t* next_sp = reinterpret_cast<uintptr_t*>(sp - sizeof(uintptr_t));
411 uintptr_t sp = static_cast<uintptr_t>(uc->CTX_ESP); local
415 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp <<
419 uintptr_t overflow_addr = sp - GetStackOverflowReservedBytes(kX86_64);
421 uintptr_t overflow_addr = sp
[all...]
/art/runtime/entrypoints/quick/
H A Dquick_instrumentation_entrypoints.cc48 extern "C" TwoWordReturn artInstrumentationMethodExitFromCode(Thread* self, ArtMethod** sp,
54 uintptr_t* return_pc = reinterpret_cast<uintptr_t*>(reinterpret_cast<uint8_t*>(sp) +
H A Dquick_trampoline_entrypoints.cc63 // | Method* | <- sp
100 // | Method* | <- sp
131 // | A0/Method* | <- sp
172 // | A0/Method* | <- sp
209 // | EAX/Method* | <- sp
250 // | RDI/Method* | <- sp
282 static mirror::Object* GetProxyThisObject(ArtMethod** sp)
284 CHECK((*sp)->IsProxyMethod());
285 CHECK_EQ(kQuickCalleeSaveFrame_RefAndArgs_FrameSize, (*sp)->GetFrameSizeInBytes());
290 uint8_t* this_arg_address = reinterpret_cast<uint8_t*>(sp)
552 BuildQuickShadowFrameVisitor(ArtMethod** sp, bool is_static, const char* shorty, uint32_t shorty_len, ShadowFrame* sf, size_t first_arg_reg) argument
662 BuildQuickArgumentVisitor(ArtMethod** sp, bool is_static, const char* shorty, uint32_t shorty_len, ScopedObjectAccessUnchecked* soa, std::vector<jvalue>* args) argument
779 RememberForGcArgumentVisitor(ArtMethod** sp, bool is_static, const char* shorty, uint32_t shorty_len, ScopedObjectAccessUnchecked* soa) argument
1635 BuildGenericJniFrameVisitor(Thread* self, bool is_static, const char* shorty, uint32_t shorty_len, ArtMethod*** sp) argument
1885 ArtMethod** sp = self->GetManagedStack()->GetTopQuickFrame(); local
1948 artInvokeCommon(uint32_t method_idx, mirror::Object* this_object, ArtMethod* caller_method, Thread* self, ArtMethod** sp) argument
[all...]
/art/runtime/
H A Dfault_handler.cc325 uintptr_t sp = 0; local
329 GetMethodAndReturnPcAndSp(siginfo, context, &method_obj, &return_pc, &sp);
417 uintptr_t sp = 0; local
420 manager_->GetMethodAndReturnPcAndSp(siginfo, context, &method, &return_pc, &sp);
421 // Inside of generated code, sp[0] is the method, so sp is the frame.
422 self->SetTopOfStack(reinterpret_cast<ArtMethod**>(sp));
H A Dstack.cc120 extern "C" mirror::Object* artQuickGetProxyThisObject(ArtMethod** sp)
563 uint8_t* sp = reinterpret_cast<uint8_t*>(GetCurrentQuickFrame()); local
564 DCHECK(sp != nullptr);
565 uint8_t* pc_addr = sp + GetMethod()->GetReturnPcOffset().SizeValue();
570 uint8_t* sp = reinterpret_cast<uint8_t*>(GetCurrentQuickFrame()); local
571 CHECK(sp != nullptr);
572 uint8_t* pc_addr = sp + GetMethod()->GetReturnPcOffset().SizeValue();
H A Dstack.h521 * Return sp-relative offset for a Dalvik virtual register, compiler
566 * | ArtMethod* | ... (reg == num_total_code_regs == special_temp_value) <<== sp, 16-byte aligned
595 ArtMethod** sp = GetCurrentQuickFrame(); local
597 return reinterpret_cast<HandleScope*>(reinterpret_cast<uintptr_t>(sp) + pointer_size);

Completed in 238 milliseconds

12