Home
last modified time | relevance | path

Searched refs:gprs_ (Results 1 – 13 of 13) sorted by relevance

/art/runtime/arch/arm64/
Dcontext_arm64.cc31 std::fill_n(gprs_, arraysize(gprs_), nullptr); in Reset()
33 gprs_[SP] = &sp_; in Reset()
34 gprs_[LR] = &pc_; in Reset()
47 gprs_[core_reg] = fr.CalleeSaveAddress(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_[X0] = const_cast<uint64_t*>(&gZero); in SmashCallerSaves()
78 gprs_[X1] = nullptr; in SmashCallerSaves()
79 gprs_[X2] = nullptr; in SmashCallerSaves()
80 gprs_[X3] = nullptr; in SmashCallerSaves()
[all …]
Dcontext_arm64.h50 return gprs_[reg] != nullptr; in IsAccessibleGPR()
55 return gprs_[reg]; in GetGPRAddress()
61 return *gprs_[reg]; in GetGPR()
84 uintptr_t* gprs_[kNumberOfXRegisters];
/art/runtime/arch/mips64/
Dcontext_mips64.cc29 std::fill_n(gprs_, arraysize(gprs_), nullptr); in Reset()
31 gprs_[SP] = &sp_; in Reset()
32 gprs_[RA] = &ra_; in Reset()
45 gprs_[core_reg] = fr.CalleeSaveAddress(spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
61 CHECK_NE(gprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetGPR()
62 *gprs_[reg] = value; in SetGPR()
74 gprs_[V0] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
75 gprs_[V1] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
76 gprs_[A1] = nullptr; in SmashCallerSaves()
77 gprs_[A0] = nullptr; in SmashCallerSaves()
[all …]
Dcontext_mips64.h49 return gprs_[reg] != nullptr; in IsAccessibleGPR()
54 return gprs_[reg]; in GetGPRAddress()
60 return *gprs_[reg]; in GetGPR()
83 uintptr_t* gprs_[kNumberOfGpuRegisters];
/art/runtime/arch/mips/
Dcontext_mips.cc29 std::fill_n(gprs_, arraysize(gprs_), nullptr); in Reset()
31 gprs_[SP] = &sp_; in Reset()
32 gprs_[RA] = &ra_; in Reset()
45 gprs_[core_reg] = fr.CalleeSaveAddress(spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
61 CHECK_NE(gprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetGPR()
62 *gprs_[reg] = value; in SetGPR()
74 gprs_[V0] = const_cast<uint32_t*>(&gZero); in SmashCallerSaves()
75 gprs_[V1] = const_cast<uint32_t*>(&gZero); in SmashCallerSaves()
76 gprs_[A1] = nullptr; in SmashCallerSaves()
77 gprs_[A2] = nullptr; in SmashCallerSaves()
[all …]
Dcontext_mips.h49 return gprs_[reg] != nullptr; in IsAccessibleGPR()
54 return gprs_[reg]; in GetGPRAddress()
60 return *gprs_[reg]; in GetGPR()
83 uintptr_t* gprs_[kNumberOfCoreRegisters];
/art/runtime/arch/x86_64/
Dcontext_x86_64.cc29 std::fill_n(gprs_, arraysize(gprs_), nullptr); in Reset()
31 gprs_[RSP] = &rsp_; in Reset()
47 gprs_[core_reg] = fr.CalleeSaveAddress(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()
72 gprs_[R9] = nullptr; in SmashCallerSaves()
[all …]
Dcontext_x86_64.h49 return gprs_[reg] != nullptr; in IsAccessibleGPR()
54 return gprs_[reg]; in GetGPRAddress()
60 return *gprs_[reg]; in GetGPR()
83 uintptr_t* gprs_[kNumberOfCpuRegisters];
/art/runtime/arch/arm/
Dcontext_arm.cc29 std::fill_n(gprs_, arraysize(gprs_), nullptr); in Reset()
31 gprs_[SP] = &sp_; in Reset()
32 gprs_[PC] = &pc_; in Reset()
47 gprs_[core_reg] = fr.CalleeSaveAddress(spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
63 DCHECK_NE(gprs_[reg], &gZero); // Can't overwrite this static value since they are never reset. in SetGPR()
64 *gprs_[reg] = value; in SetGPR()
76 gprs_[R0] = const_cast<uint32_t*>(&gZero); in SmashCallerSaves()
77 gprs_[R1] = const_cast<uint32_t*>(&gZero); in SmashCallerSaves()
78 gprs_[R2] = nullptr; in SmashCallerSaves()
79 gprs_[R3] = nullptr; in SmashCallerSaves()
[all …]
Dcontext_arm.h50 return gprs_[reg] != nullptr; in IsAccessibleGPR()
55 return gprs_[reg]; in GetGPRAddress()
61 return *gprs_[reg]; in GetGPR()
84 uintptr_t* gprs_[kNumberOfCoreRegisters];
Dquick_entrypoints_arm.S447 ldr r2, [r0, #60] @ r2 = r15 (PC from gprs_ 60=4*15)
448 ldr r14, [r0, #56] @ (LR from gprs_ 56=4*14)
449 add r0, r0, #12 @ increment r0 to skip gprs_[0..2] 12=4*3
450 ldm r0, {r3-r13} @ load remaining gprs from argument gprs_
/art/runtime/arch/x86/
Dcontext_x86.cc29 std::fill_n(gprs_, arraysize(gprs_), nullptr); in Reset()
31 gprs_[ESP] = &esp_; in Reset()
47 gprs_[core_reg] = fr.CalleeSaveAddress(spill_pos, frame_info.FrameSizeInBytes()); in FillCalleeSaves()
69 gprs_[EAX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
70 gprs_[EDX] = const_cast<uintptr_t*>(&gZero); in SmashCallerSaves()
71 gprs_[ECX] = nullptr; in SmashCallerSaves()
72 gprs_[EBX] = nullptr; in SmashCallerSaves()
79 CHECK_NE(gprs_[reg], &gZero); in SetGPR()
80 *gprs_[reg] = value; in SetGPR()
96 …gprs[kNumberOfCpuRegisters - i - 1] = gprs_[i] != nullptr ? *gprs_[i] : X86Context::kBadGprBase + … in DoLongJump()
Dcontext_x86.h49 return gprs_[reg] != nullptr; in IsAccessibleGPR()
54 return gprs_[reg]; in GetGPRAddress()
60 return *gprs_[reg]; in GetGPR()
96 uintptr_t* gprs_[kNumberOfCpuRegisters]; variable