Searched defs:sp (Results 1 - 16 of 16) sorted by relevance

/art/runtime/arch/mips/
H A Dfault_handler_mips.cc44 VLOG(signals) << "sp: " << *out_sp;
81 // Decrement $sp by the frame size of the kSaveEverything method and store
105 // lw zero, -16384(sp)
107 // It will fault if sp is inside the protected region on the stack.
115 VLOG(signals) << "stack overflow handler with sp at " << std::hex << &uc;
118 uintptr_t sp = sc->sc_regs[mips::SP]; local
119 VLOG(signals) << "sp: " << std::hex << sp; local
123 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp <<
[all...]
/art/runtime/arch/mips64/
H A Dfault_handler_mips64.cc45 VLOG(signals) << "sp: " << *out_sp;
83 // Decrement $sp by the frame size of the kSaveEverything method and store
107 // lw zero, -16384(sp)
109 // It will fault if sp is inside the protected region on the stack.
117 VLOG(signals) << "stack overflow handler with sp at " << std::hex << &uc;
120 uintptr_t sp = sc->sc_regs[mips64::SP]; local
121 VLOG(signals) << "sp: " << std::hex << sp; local
125 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp <<
[all...]
/art/runtime/arch/arm64/
H A Dfault_handler_arm64.cc46 *out_sp = static_cast<uintptr_t>(sc->sp);
47 VLOG(signals) << "sp: " << *out_sp;
84 sc->sp -= sizeof(uintptr_t);
85 *reinterpret_cast<uintptr_t*>(sc->sp) = sc->pc + 4;
157 VLOG(signals) << "stack overflow handler with sp at " << std::hex << &uc;
160 uintptr_t sp = sc->sp; local
161 VLOG(signals) << "sp: " << std::hex << sp; local
165 VLOG(signals) << "checking for stack overflow, sp
[all...]
/art/compiler/utils/arm64/
H A Dassembler_arm64.cc85 const Register sp = vixl_masm_.StackPointer(); local
91 ___ Str(dst0, MemOperand(sp, offset));
98 ___ Stp(dst0, dst1, MemOperand(sp, offset));
105 ___ Str(dst0, MemOperand(sp, offset));
113 const Register sp = vixl_masm_.StackPointer(); local
117 ___ Ldr(dst0, MemOperand(sp, offset));
124 ___ Ldp(dst0, dst1, MemOperand(sp, offset));
131 ___ Ldr(dst0, MemOperand(sp, offset));
/art/runtime/arch/arm/
H A Dfault_handler_arm.cc54 VLOG(signals) << "sp: " << std::hex << *out_sp;
189 // sub r12,sp,#16384
202 VLOG(signals) << "stack overflow handler with sp at " << std::hex << &uc;
205 uintptr_t sp = sc->arm_sp; local
206 VLOG(signals) << "sp: " << std::hex << sp; local
210 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp <<
213 uintptr_t overflow_addr = sp - GetStackOverflowReservedBytes(kArm);
/art/runtime/arch/x86/
H A Dfault_handler_x86.cc285 VLOG(signals) << "sp: " << std::hex << *out_sp;
330 uint8_t* sp = reinterpret_cast<uint8_t*>(uc->CTX_ESP); local
345 uintptr_t* next_sp = reinterpret_cast<uintptr_t*>(sp - 2 * sizeof(uintptr_t));
386 uint8_t* sp = reinterpret_cast<uint8_t*>(uc->CTX_ESP); local
417 uintptr_t* next_sp = reinterpret_cast<uintptr_t*>(sp - sizeof(uintptr_t));
441 uintptr_t sp = static_cast<uintptr_t>(uc->CTX_ESP); local
445 VLOG(signals) << "checking for stack overflow, sp: " << std::hex << sp <<
449 uintptr_t overflow_addr = sp - GetStackOverflowReservedBytes(kX86_64);
451 uintptr_t overflow_addr = sp
[all...]
/art/runtime/
H A Dcha.cc139 uint8_t* sp = reinterpret_cast<uint8_t*>(GetCurrentQuickFrame()); local
145 uint8_t* should_deoptimize_addr = sp + offset;
H A Dfault_handler.cc267 uintptr_t sp = 0; local
271 GetMethodAndReturnPcAndSp(siginfo, context, &method_obj, &return_pc, &sp);
356 uintptr_t sp = 0; local
359 manager_->GetMethodAndReturnPcAndSp(siginfo, context, &method, &return_pc, &sp);
360 // Inside of generated code, sp[0] is the method, so sp is the frame.
361 self->SetTopOfStack(reinterpret_cast<ArtMethod**>(sp));
H A Dstack.cc180 extern "C" mirror::Object* artQuickGetProxyThisObject(ArtMethod** sp)
530 uint8_t* sp = reinterpret_cast<uint8_t*>(GetCurrentQuickFrame()); local
531 DCHECK(sp != nullptr);
532 uint8_t* pc_addr = sp + GetCurrentQuickFrameInfo().GetReturnPcOffset();
537 uint8_t* sp = reinterpret_cast<uint8_t*>(GetCurrentQuickFrame()); local
538 CHECK(sp != nullptr);
539 uint8_t* pc_addr = sp + GetCurrentQuickFrameInfo().GetReturnPcOffset();
H A Dstack.h717 * Return sp-relative offset for a Dalvik virtual register, compiler
762 * | ArtMethod* | ... (reg == num_total_code_regs == special_temp_value) <<== sp, 16-byte aligned
795 ArtMethod** sp = GetCurrentQuickFrame(); local
797 return reinterpret_cast<HandleScope*>(reinterpret_cast<uintptr_t>(sp) + pointer_size);
H A Dthread.cc1599 sched_param sp; local
1606 int sched_getparam_result = sched_getparam(tid, &sp);
1608 PLOG(WARNING) << "sched_getparam(" << tid << ", &sp)";
1609 sp.sched_priority = -1;
1612 CHECK_PTHREAD_CALL(pthread_getschedparam, (thread->tlsPtr_.pthread_self, &policy, &sp),
1615 os << " sched=" << policy << "/" << sp.sched_priority
/art/runtime/entrypoints/
H A Dentrypoint_utils.cc180 ArtMethod** sp, Runtime::CalleeSaveType type) REQUIRES_SHARED(Locks::mutator_lock_) {
181 DCHECK_EQ(*sp, Runtime::Current()->GetCalleeSaveMethod(type));
185 reinterpret_cast<uintptr_t>(sp) + callee_frame_size);
188 (reinterpret_cast<uint8_t*>(sp) + callee_return_pc_offset));
235 ArtMethod* GetCalleeSaveMethodCaller(ArtMethod** sp,
240 auto outer_caller_and_pc = DoGetCalleeSaveMethodOuterCallerAndPc(sp, type);
251 ArtMethod** sp = self->GetManagedStack()->GetTopQuickFrame(); local
252 auto outer_caller_and_pc = DoGetCalleeSaveMethodOuterCallerAndPc(sp, type);
262 ArtMethod** sp = self->GetManagedStack()->GetTopQuickFrame(); local
263 return DoGetCalleeSaveMethodOuterCallerAndPc(sp, typ
[all...]
/art/runtime/entrypoints/quick/
H A Dquick_trampoline_entrypoints.cc73 // | Method* | <- sp
111 // | Method* | <- sp
158 // | A0/Method* | <- sp
202 // | A0/Method* | <- sp
237 // | EAX/Method* | <- sp
279 // | RDI/Method* | <- sp
312 static mirror::Object* GetProxyThisObject(ArtMethod** sp)
314 CHECK((*sp)->IsProxyMethod());
319 uint8_t* this_arg_address = reinterpret_cast<uint8_t*>(sp) + this_arg_offset;
323 static ArtMethod* GetCallingMethod(ArtMethod** sp) REQUIRES_SHARE
644 BuildQuickShadowFrameVisitor(ArtMethod** sp, bool is_static, const char* shorty, uint32_t shorty_len, ShadowFrame* sf, size_t first_arg_reg) argument
831 BuildQuickArgumentVisitor(ArtMethod** sp, bool is_static, const char* shorty, uint32_t shorty_len, ScopedObjectAccessUnchecked* soa, std::vector<jvalue>* args) argument
948 RememberForGcArgumentVisitor(ArtMethod** sp, bool is_static, const char* shorty, uint32_t shorty_len, ScopedObjectAccessUnchecked* soa) argument
1865 BuildGenericJniFrameVisitor(Thread* self, bool is_static, bool critical_native, const char* shorty, uint32_t shorty_len, ArtMethod*** sp) argument
2246 ArtMethod** sp = self->GetManagedStack()->GetTopQuickFrame(); local
2261 artInvokeCommon(uint32_t method_idx, ObjPtr<mirror::Object> this_object, Thread* self, ArtMethod** sp) argument
[all...]
/art/runtime/interpreter/mterp/mips/
H A Dheader.S113 #define sp $$29 /* stack pointer */ define
667 #define STACK_STORE(rd, off) sw rd, off(sp)
668 #define STACK_LOAD(rd, off) lw rd, off(sp)
669 #define CREATE_STACK(n) subu sp, sp, n
670 #define DELETE_STACK(n) addu sp, sp, n
/art/runtime/interpreter/mterp/out/
H A Dmterp_mips.S120 #define sp $29 /* stack pointer */ define
674 #define STACK_STORE(rd, off) sw rd, off(sp)
675 #define STACK_LOAD(rd, off) lw rd, off(sp)
676 #define CREATE_STACK(n) subu sp, sp, n
677 #define DELETE_STACK(n) addu sp, sp, n
758 .frame sp, STACK_SIZE, ra
/art/compiler/optimizing/
H A Dcode_generator_arm_vixl.cc119 __ Vstr(vixl32::SRegister(first), MemOperand(sp, stack_offset));
123 __ Vstr(vixl32::SRegister(first++), MemOperand(sp, stack_offset));
139 __ Vstr(d_reg, MemOperand(sp, stack_offset));
142 vixl32::Register base = sp;
145 __ Add(base, sp, Operand::From(stack_offset));
153 __ Vstr(vixl32::SRegister(last + 1), MemOperand(sp, stack_offset));
168 __ Vldr(vixl32::SRegister(first), MemOperand(sp, stack_offset));
172 __ Vldr(vixl32::SRegister(first++), MemOperand(sp, stack_offset));
187 __ Vldr(d_reg, MemOperand(sp, stack_offset));
190 vixl32::Register base = sp;
2356 GetAssembler()->LoadSFromOffset(SRegisterFrom(destination), sp, source.GetStackIndex()); local
2366 GetAssembler()->StoreSToOffset(SRegisterFrom(source), sp, destination.GetStackIndex()); local
6480 GetAssembler()->LoadSFromOffset(SRegisterFrom(destination), sp, source.GetStackIndex()); local
6494 GetAssembler()->StoreSToOffset(SRegisterFrom(source), sp, destination.GetStackIndex()); local
6507 GetAssembler()->LoadDFromOffset(DRegisterFrom(destination), sp, source.GetStackIndex()); local
6530 GetAssembler()->StoreDToOffset(DRegisterFrom(source), sp, destination.GetStackIndex()); local
[all...]

Completed in 3625 milliseconds