Home
last modified time | relevance | path

Searched refs:sp (Results 1 – 25 of 30) sorted by relevance

12

/art/runtime/arch/arm64/
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, #-16]!
[all …]
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, #120]
70 stp x26, x27, [sp, #136]
[all …]
Dfault_handler_arm64.cc61 *out_sp = static_cast<uintptr_t>(sc->sp); in GetMethodAndReturnPcAndSp()
169 uintptr_t sp = sc->sp; in Action() local
170 VLOG(signals) << "sp: " << std::hex << sp; in Action()
174 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp << in Action()
177 uintptr_t overflow_addr = sp - GetStackOverflowReservedBytes(kArm64); in Action()
/art/runtime/arch/mips64/
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)
45 sd $a0, 0($sp)
[all …]
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.
120 sd $s7, 48($sp)
122 sd $s6, 40($sp)
124 sd $s5, 32($sp)
126 sd $s4, 24($sp)
128 sd $s3, 16($sp)
130 sd $s2, 8($sp)
[all …]
Dfault_handler_mips64.cc114 uintptr_t sp = sc->sc_regs[29]; // SP register in Action() local
115 VLOG(signals) << "sp: " << std::hex << sp; in Action()
119 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp << in Action()
122 uintptr_t overflow_addr = sp - GetStackOverflowReservedBytes(kMips64); in Action()
Dasm_support_mips64.S43 .cfi_def_cfa $sp,0
57 .cfi_def_cfa $sp,0
/art/runtime/arch/mips/
Dquick_entrypoints_mips.S40 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)
62 sw $s3, 64($sp)
64 sw $s2, 60($sp)
[all …]
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)
44 lw $a3, 12($sp)
[all …]
Dfault_handler_mips.cc114 uintptr_t sp = sc->sc_regs[29]; // SP register in Action() local
115 VLOG(signals) << "sp: " << std::hex << sp; in Action()
119 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp << in Action()
122 uintptr_t overflow_addr = sp - GetStackOverflowReservedBytes(kMips); in Action()
Dasm_support_mips.S38 .cfi_def_cfa $sp,0
54 .cfi_def_cfa $sp,0
/art/runtime/arch/arm/
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, #8 @ 2 words of space, bottom word will hold Method*
138 str \rTemp1, [sp, #0] @ Place Method* at bottom of stack.
139 str sp, [r9, #THREAD_TOP_QUICK_FRAME_OFFSET] @ Place sp in Thread::Current()->top_quick_frame.
[all …]
Djni_entrypoints_arm.S31 sub sp, #12 @ pad stack pointer to align frame
35 add sp, #12 @ restore stack pointer
Dfault_handler_arm.cc215 uintptr_t sp = sc->arm_sp; in Action() local
216 VLOG(signals) << "sp: " << std::hex << sp; in Action()
220 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp << in Action()
223 uintptr_t overflow_addr = sp - GetStackOverflowReservedBytes(kArm); in Action()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc282 static mirror::Object* GetProxyThisObject(ArtMethod** sp) in GetProxyThisObject() argument
284 CHECK((*sp)->IsProxyMethod()); in GetProxyThisObject()
285 CHECK_EQ(kQuickCalleeSaveFrame_RefAndArgs_FrameSize, (*sp)->GetFrameSizeInBytes()); in GetProxyThisObject()
290 uint8_t* this_arg_address = reinterpret_cast<uint8_t*>(sp) + this_arg_offset; in GetProxyThisObject()
294 static ArtMethod* GetCallingMethod(ArtMethod** sp) in GetCallingMethod() argument
296 DCHECK((*sp)->IsCalleeSaveMethod()); in GetCallingMethod()
297 uint8_t* previous_sp = reinterpret_cast<uint8_t*>(sp) + in GetCallingMethod()
303 static uintptr_t GetCallingPc(ArtMethod** sp) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in GetCallingPc() argument
304 DCHECK((*sp)->IsCalleeSaveMethod()); in GetCallingPc()
305 uint8_t* lr = reinterpret_cast<uint8_t*>(sp) + kQuickCalleeSaveFrame_RefAndArgs_LrOffset; in GetCallingPc()
[all …]
Dquick_instrumentation_entrypoints.cc48 extern "C" TwoWordReturn artInstrumentationMethodExitFromCode(Thread* self, ArtMethod** sp, in artInstrumentationMethodExitFromCode() argument
54 uintptr_t* return_pc = reinterpret_cast<uintptr_t*>(reinterpret_cast<uint8_t*>(sp) + in artInstrumentationMethodExitFromCode()
/art/compiler/optimizing/
Doptimizing_cfi_test_expected.inc20 // 0x00000006: sub sp, sp, #44
22 // 0x00000008: str r0, [sp, #0]
24 // 0x0000000a: add sp, sp, #44
44 // 0x00000000: str x0, [sp, #-64]!
46 // 0x00000004: stp x19, x20, [sp, #40]
49 // 0x00000008: str lr, [sp, #56]
51 // 0x0000000c: stp d8, d9, [sp, #24]
55 // 0x00000010: ldp d8, d9, [sp, #24]
58 // 0x00000014: ldp x19, x20, [sp, #40]
61 // 0x00000018: ldr lr, [sp, #56]
[all …]
Dcommon_arm64.h145 return vixl::MemOperand(vixl::sp, location.GetStackIndex()); in StackOperandFrom()
/art/compiler/jni/
Djni_cfi_test_expected.inc47 // 0x00000008: sub sp, sp, #36
49 // 0x0000000a: str r0, [sp, #0]
50 // 0x0000000c: str.w r1, [sp, #132]
51 // 0x00000010: vstr.f32 s0, [sp, #136]
52 // 0x00000014: str.w r2, [sp, #140]
53 // 0x00000018: str.w r3, [sp, #144]
54 // 0x0000001c: sub sp, sp, #32
56 // 0x0000001e: add sp, sp, #32
59 // 0x00000020: add sp, sp, #36
108 // 0x00000000: sub sp, sp, #0xc0 (192)
[all …]
/art/compiler/dex/quick/
Dquick_cfi_test_expected.inc20 // 0x00000006: sub sp, sp, #44
22 // 0x00000008: str r0, [sp, #0]
24 // 0x0000000a: add sp, sp, #44
47 // 0x00000000: sub sp, sp, #0x40 (64)
49 // 0x00000004: stp d8, d9, [sp, #24]
52 // 0x00000008: stp x19, x20, [sp, #40]
55 // 0x0000000c: str lr, [sp, #56]
57 // 0x00000010: str x0, [sp]
59 // 0x00000014: ldp d8, d9, [sp, #24]
62 // 0x00000018: ldp x19, x20, [sp, #40]
[all …]
/art/runtime/arch/x86/
Dfault_handler_x86.cc298 uint8_t* sp = reinterpret_cast<uint8_t*>(uc->CTX_ESP); in Action() local
313 uintptr_t* next_sp = reinterpret_cast<uintptr_t*>(sp - sizeof(uintptr_t)); in Action()
356 uint8_t* sp = reinterpret_cast<uint8_t*>(uc->CTX_ESP); in Action() local
387 uintptr_t* next_sp = reinterpret_cast<uintptr_t*>(sp - sizeof(uintptr_t)); in Action()
411 uintptr_t sp = static_cast<uintptr_t>(uc->CTX_ESP); in Action() local
415 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp << in Action()
419 uintptr_t overflow_addr = sp - GetStackOverflowReservedBytes(kX86_64); in Action()
421 uintptr_t overflow_addr = sp - GetStackOverflowReservedBytes(kX86); in Action()
/art/runtime/
Dfault_handler.cc325 uintptr_t sp = 0; in IsInGeneratedCode() local
329 GetMethodAndReturnPcAndSp(siginfo, context, &method_obj, &return_pc, &sp); in IsInGeneratedCode()
417 uintptr_t sp = 0; in Action() local
420 manager_->GetMethodAndReturnPcAndSp(siginfo, context, &method, &return_pc, &sp); in Action()
422 self->SetTopOfStack(reinterpret_cast<ArtMethod**>(sp)); in Action()
Dstack.cc120 extern "C" mirror::Object* artQuickGetProxyThisObject(ArtMethod** sp)
563 uint8_t* sp = reinterpret_cast<uint8_t*>(GetCurrentQuickFrame()); in GetReturnPc() local
564 DCHECK(sp != nullptr); in GetReturnPc()
565 uint8_t* pc_addr = sp + GetMethod()->GetReturnPcOffset().SizeValue(); in GetReturnPc()
570 uint8_t* sp = reinterpret_cast<uint8_t*>(GetCurrentQuickFrame()); in SetReturnPc() local
571 CHECK(sp != nullptr); in SetReturnPc()
572 uint8_t* pc_addr = sp + GetMethod()->GetReturnPcOffset().SizeValue(); in SetReturnPc()
Dstack.h595 ArtMethod** sp = GetCurrentQuickFrame(); in GetCurrentHandleScope() local
597 return reinterpret_cast<HandleScope*>(reinterpret_cast<uintptr_t>(sp) + pointer_size); in GetCurrentHandleScope()
/art/compiler/utils/arm64/
Dassembler_arm64.cc654 const Register sp = vixl_masm_->StackPointer(); in SpillRegisters() local
658 ___ Stp(dst0, dst1, MemOperand(sp, offset)); in SpillRegisters()
665 ___ Str(dst0, MemOperand(sp, offset)); in SpillRegisters()
673 const Register sp = vixl_masm_->StackPointer(); in UnspillRegisters() local
677 ___ Ldp(dst0, dst1, MemOperand(sp, offset)); in UnspillRegisters()
684 ___ Ldr(dst0, MemOperand(sp, offset)); in UnspillRegisters()

12