Searched refs:gprs_ (Results 1 – 9 of 9) sorted by relevance
/art/runtime/arch/arm64/ |
D | context_arm64.cc | 38 std::fill_n(gprs_, arraysize(gprs_), nullptr); in Reset() 40 gprs_[SP] = &sp_; in Reset() 41 gprs_[kPC] = &pc_; in Reset() 42 gprs_[X0] = &arg0_; in Reset() 54 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves() 68 DCHECK_LT(reg, arraysize(gprs_)); in SetGPR() 71 DCHECK_NE(gprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetGPR() 72 *gprs_[reg] = value; in SetGPR() 84 gprs_[X0] = const_cast<uint64_t*>(&gZero); in SmashCallerSaves() 85 gprs_[X1] = nullptr; in SmashCallerSaves() [all …]
|
D | context_arm64.h | 54 DCHECK_LT(reg, arraysize(gprs_)); in IsAccessibleGPR() 55 return gprs_[reg] != nullptr; in IsAccessibleGPR() 59 DCHECK_LT(reg, arraysize(gprs_)); in GetGPRAddress() 60 return gprs_[reg]; in GetGPRAddress() 67 return *gprs_[reg]; in GetGPR() 93 uintptr_t* gprs_[kNumberOfXRegisters + 1];
|
/art/runtime/arch/x86_64/ |
D | context_x86_64.cc | 29 std::fill_n(gprs_, arraysize(gprs_), nullptr); in Reset() 31 gprs_[RSP] = &rsp_; in Reset() 32 gprs_[RDI] = &arg0_; in Reset() 47 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves() 66 gprs_[RAX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves() 67 gprs_[RDX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves() 68 gprs_[RCX] = nullptr; in SmashCallerSaves() 69 gprs_[RSI] = nullptr; in SmashCallerSaves() 70 gprs_[RDI] = nullptr; in SmashCallerSaves() 71 gprs_[R8] = nullptr; in SmashCallerSaves() [all …]
|
D | context_x86_64.h | 58 return gprs_[reg] != nullptr; in IsAccessibleGPR() 63 return gprs_[reg]; in GetGPRAddress() 69 return *gprs_[reg]; in GetGPR() 92 uintptr_t* gprs_[kNumberOfCpuRegisters];
|
/art/runtime/arch/arm/ |
D | context_arm.cc | 30 std::fill_n(gprs_, arraysize(gprs_), nullptr); in Reset() 32 gprs_[SP] = &sp_; in Reset() 33 gprs_[PC] = &pc_; in Reset() 34 gprs_[R0] = &arg0_; in Reset() 48 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves() 64 DCHECK_NE(gprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetGPR() 65 *gprs_[reg] = value; in SetGPR() 77 gprs_[R0] = const_cast<uint32_t*>(&gZero); in SmashCallerSaves() 78 gprs_[R1] = const_cast<uint32_t*>(&gZero); in SmashCallerSaves() 79 gprs_[R2] = nullptr; in SmashCallerSaves() [all …]
|
D | context_arm.h | 55 return gprs_[reg] != nullptr; in IsAccessibleGPR() 60 return gprs_[reg]; in GetGPRAddress() 66 return *gprs_[reg]; in GetGPR() 89 uintptr_t* gprs_[kNumberOfCoreRegisters];
|
D | quick_entrypoints_arm.S | 539 mov sp, r0 @ Make SP point to gprs_. 541 ldm sp, {r0-r11} @ load r0-r11 from gprs_. 542 ldr r12, [sp, #60] @ Load the value of PC (r15) from gprs_ (60 = 4 * 15) into IP (r12). 543 ldr lr, [sp, #56] @ Load LR from gprs_, 56 = 4 * 14. 544 ldr sp, [sp, #52] @ Load SP from gprs_ 52 = 4 * 13. 545 @ Do not access gprs_ from now, they are below SP.
|
/art/runtime/arch/x86/ |
D | context_x86.cc | 30 std::fill_n(gprs_, arraysize(gprs_), nullptr); in Reset() 32 gprs_[ESP] = &esp_; in Reset() 33 gprs_[EAX] = &arg0_; in Reset() 48 gprs_[core_reg] = CalleeSaveAddress(frame, spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves() 70 gprs_[EAX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves() 71 gprs_[EDX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves() 72 gprs_[ECX] = nullptr; in SmashCallerSaves() 73 gprs_[EBX] = nullptr; in SmashCallerSaves() 80 CHECK_NE(gprs_[reg], &gZero); in SetGPR() 81 *gprs_[reg] = value; in SetGPR() [all …]
|
D | context_x86.h | 54 return gprs_[reg] != nullptr; in IsAccessibleGPR() 59 return gprs_[reg]; in GetGPRAddress() 65 return *gprs_[reg]; in GetGPR() 101 uintptr_t* gprs_[kNumberOfCpuRegisters]; variable
|