Home
last modified time | relevance | path

Searched refs:gp_regs (Results 1 – 23 of 23) sorted by relevance

/external/libunwind/src/ppc64/
Ducontext_i.h57 #define UC_MCONTEXT_GREGS_R0 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[0] - (void *)&dmy_ctxt)
58 #define UC_MCONTEXT_GREGS_R1 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[1] - (void *)&dmy_ctxt)
59 #define UC_MCONTEXT_GREGS_R2 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[2] - (void *)&dmy_ctxt)
60 #define UC_MCONTEXT_GREGS_R3 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[3] - (void *)&dmy_ctxt)
61 #define UC_MCONTEXT_GREGS_R4 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[4] - (void *)&dmy_ctxt)
62 #define UC_MCONTEXT_GREGS_R5 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[5] - (void *)&dmy_ctxt)
63 #define UC_MCONTEXT_GREGS_R6 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[6] - (void *)&dmy_ctxt)
64 #define UC_MCONTEXT_GREGS_R7 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[7] - (void *)&dmy_ctxt)
65 #define UC_MCONTEXT_GREGS_R8 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[8] - (void *)&dmy_ctxt)
66 #define UC_MCONTEXT_GREGS_R9 ((void *)&dmy_ctxt.uc_mcontext.gp_regs[9] - (void *)&dmy_ctxt)
[all …]
DGinit.c51 addr = &uc->uc_mcontext.gp_regs[reg - UNW_PPC64_R0]; in uc_addr()
83 addr = &uc->uc_mcontext.gp_regs[gregs_idx]; in uc_addr()
/external/libffi/src/ia64/
Dffi.c57 UINT64 gp_regs[8]; /* Contents of 8 gp arg registers. */ member
232 cif->bytes += offsetof(struct ia64_args, gp_regs[0]); in ffi_prep_cif_machdep()
299 stack->gp_regs[gpcount++] = *(SINT8 *)avalue[i]; in ffi_call()
302 stack->gp_regs[gpcount++] = *(UINT8 *)avalue[i]; in ffi_call()
305 stack->gp_regs[gpcount++] = *(SINT16 *)avalue[i]; in ffi_call()
308 stack->gp_regs[gpcount++] = *(UINT16 *)avalue[i]; in ffi_call()
311 stack->gp_regs[gpcount++] = *(SINT32 *)avalue[i]; in ffi_call()
314 stack->gp_regs[gpcount++] = *(UINT32 *)avalue[i]; in ffi_call()
318 stack->gp_regs[gpcount++] = *(UINT64 *)avalue[i]; in ffi_call()
322 stack->gp_regs[gpcount++] = (UINT64)(PTR64) *(void **)avalue[i]; in ffi_call()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/src/ia64/
Dffi.c57 UINT64 gp_regs[8]; /* Contents of 8 gp arg registers. */ member
232 cif->bytes += offsetof(struct ia64_args, gp_regs[0]); in ffi_prep_cif_machdep()
299 stack->gp_regs[gpcount++] = *(SINT8 *)avalue[i]; in ffi_call()
302 stack->gp_regs[gpcount++] = *(UINT8 *)avalue[i]; in ffi_call()
305 stack->gp_regs[gpcount++] = *(SINT16 *)avalue[i]; in ffi_call()
308 stack->gp_regs[gpcount++] = *(UINT16 *)avalue[i]; in ffi_call()
311 stack->gp_regs[gpcount++] = *(SINT32 *)avalue[i]; in ffi_call()
314 stack->gp_regs[gpcount++] = *(UINT32 *)avalue[i]; in ffi_call()
318 stack->gp_regs[gpcount++] = *(UINT64 *)avalue[i]; in ffi_call()
322 stack->gp_regs[gpcount++] = (UINT64)(PTR64) *(void **)avalue[i]; in ffi_call()
[all …]
/external/linux-kselftest/tools/testing/selftests/powerpc/tm/
Dtm-trap.c67 thread_endianness = MSR_LE & ucp->uc_mcontext.gp_regs[PT_MSR]; in trap_signal_handler()
116 ucp->uc_mcontext.gp_regs[PT_NIP] += 16; in trap_signal_handler()
123 ucp->uc_mcontext.gp_regs[PT_MSR] |= 1UL; in trap_signal_handler()
124 ucp->uc_mcontext.gp_regs[PT_NIP] += 4; in trap_signal_handler()
141 ucp->uc_mcontext.gp_regs[PT_MSR] |= 1UL; in trap_signal_handler()
171 ucp->uc_mcontext.gp_regs[PT_MSR] &= ~1UL; in trap_signal_handler()
172 ucp->uc_mcontext.gp_regs[PT_NIP] += 8; in trap_signal_handler()
Dtm-signal-context-chk-gpr.c52 fail = (ucp->uc_mcontext.gp_regs[i + 14] != gps[i]); in signal_usr1()
53 fail |= (tm_ucp->uc_mcontext.gp_regs[i + 14] != gps[i + NV_GPR_REGS]); in signal_usr1()
56 ucp->uc_mcontext.gp_regs[i + 14], tm_ucp->uc_mcontext.gp_regs[i + 14]); in signal_usr1()
Dtm-signal-msr-resv.c41 ucp->uc_mcontext.gp_regs[PT_MSR] |= (7ULL << 32); in signal_usr1()
/external/v8/src/wasm/baseline/mips64/
Dliftoff-assembler-mips64.h1098 LiftoffRegList gp_regs = regs & kGpCacheRegList; in PushRegisters() local
1099 unsigned num_gp_regs = gp_regs.GetNumRegsSet(); in PushRegisters()
1103 while (!gp_regs.is_empty()) { in PushRegisters()
1104 LiftoffRegister reg = gp_regs.GetFirstRegSet(); in PushRegisters()
1107 gp_regs.clear(reg); in PushRegisters()
1136 LiftoffRegList gp_regs = regs & kGpCacheRegList; in PopRegisters() local
1138 while (!gp_regs.is_empty()) { in PopRegisters()
1139 LiftoffRegister reg = gp_regs.GetLastRegSet(); in PopRegisters()
1141 gp_regs.clear(reg); in PopRegisters()
/external/linux-kselftest/tools/testing/selftests/powerpc/alignment/
Dcopy_paste_unaligned_common.c30 unsigned int *pc = (unsigned int *)ctx->uc_mcontext.gp_regs[PT_NIP]; in signal_action_handler()
Dcopy_first_unaligned.c27 unsigned int *pc = (unsigned int *)ctx->uc_mcontext.gp_regs[PT_NIP]; in signal_action_handler()
Dalignment_handler.c71 ucp->uc_mcontext.gp_regs[PT_NIP] += 4; in sighandler()
/external/v8/src/wasm/baseline/mips/
Dliftoff-assembler-mips.h1234 LiftoffRegList gp_regs = regs & kGpCacheRegList; in PushRegisters() local
1235 unsigned num_gp_regs = gp_regs.GetNumRegsSet(); in PushRegisters()
1239 while (!gp_regs.is_empty()) { in PushRegisters()
1240 LiftoffRegister reg = gp_regs.GetFirstRegSet(); in PushRegisters()
1243 gp_regs.clear(reg); in PushRegisters()
1272 LiftoffRegList gp_regs = regs & kGpCacheRegList; in PopRegisters() local
1274 while (!gp_regs.is_empty()) { in PopRegisters()
1275 LiftoffRegister reg = gp_regs.GetLastRegSet(); in PopRegisters()
1277 gp_regs.clear(reg); in PopRegisters()
/external/linux-kselftest/tools/testing/selftests/powerpc/include/
Dutils.h94 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.gp_regs[PT_NIP]
/external/linux-kselftest/tools/testing/selftests/powerpc/copyloops/
Dexc_validate.c14 #define UCONTEXT_NIA(UC) (UC)->uc_mcontext.gp_regs[PT_NIP]
/external/v8/src/wasm/baseline/x64/
Dliftoff-assembler-x64.h1323 LiftoffRegList gp_regs = regs & kGpCacheRegList; in PushRegisters() local
1324 while (!gp_regs.is_empty()) { in PushRegisters()
1325 LiftoffRegister reg = gp_regs.GetFirstRegSet(); in PushRegisters()
1327 gp_regs.clear(reg); in PushRegisters()
1354 LiftoffRegList gp_regs = regs & kGpCacheRegList; in PopRegisters() local
1355 while (!gp_regs.is_empty()) { in PopRegisters()
1356 LiftoffRegister reg = gp_regs.GetLastRegSet(); in PopRegisters()
1358 gp_regs.clear(reg); in PopRegisters()
/external/v8/src/wasm/baseline/ia32/
Dliftoff-assembler-ia32.h1496 LiftoffRegList gp_regs = regs & kGpCacheRegList; in PushRegisters() local
1497 while (!gp_regs.is_empty()) { in PushRegisters()
1498 LiftoffRegister reg = gp_regs.GetFirstRegSet(); in PushRegisters()
1500 gp_regs.clear(reg); in PushRegisters()
1527 LiftoffRegList gp_regs = regs & kGpCacheRegList; in PopRegisters() local
1528 while (!gp_regs.is_empty()) { in PopRegisters()
1529 LiftoffRegister reg = gp_regs.GetLastRegSet(); in PopRegisters()
1531 gp_regs.clear(reg); in PopRegisters()
/external/v8/src/libsampler/
Dsampler.cc505 state->pc = reinterpret_cast<void*>(ucontext->uc_mcontext.gp_regs[32]); in FillRegisterState()
506 state->sp = reinterpret_cast<void*>(ucontext->uc_mcontext.gp_regs[1]); in FillRegisterState()
507 state->fp = reinterpret_cast<void*>(ucontext->uc_mcontext.gp_regs[31]); in FillRegisterState()
/external/v8/src/builtins/ppc/
Dbuiltins-ppc.cc2310 constexpr RegList gp_regs = in Generate_WasmCompileLazy() local
2314 __ MultiPush(gp_regs); in Generate_WasmCompileLazy()
2332 __ MultiPop(gp_regs); in Generate_WasmCompileLazy()
/external/v8/src/builtins/arm/
Dbuiltins-arm.cc2228 constexpr RegList gp_regs = Register::ListOf<r0, r1, r2, r3>(); in Generate_WasmCompileLazy() local
2232 __ stm(db_w, sp, gp_regs); in Generate_WasmCompileLazy()
2251 __ ldm(ia_w, sp, gp_regs); in Generate_WasmCompileLazy()
/external/v8/src/builtins/arm64/
Dbuiltins-arm64.cc2686 constexpr RegList gp_regs = in Generate_WasmCompileLazy() local
2690 __ PushXRegList(gp_regs); in Generate_WasmCompileLazy()
2708 __ PopXRegList(gp_regs); in Generate_WasmCompileLazy()
/external/v8/src/builtins/mips/
Dbuiltins-mips.cc2282 constexpr RegList gp_regs = Register::ListOf<a0, a1, a2, a3>(); in Generate_WasmCompileLazy() local
2285 __ MultiPush(gp_regs); in Generate_WasmCompileLazy()
2301 __ MultiPop(gp_regs); in Generate_WasmCompileLazy()
/external/v8/src/builtins/s390/
Dbuiltins-s390.cc2315 constexpr RegList gp_regs = Register::ListOf<r2, r3, r4, r5, r6>(); in Generate_WasmCompileLazy() local
2321 __ MultiPush(gp_regs); in Generate_WasmCompileLazy()
2339 __ MultiPop(gp_regs); in Generate_WasmCompileLazy()
/external/v8/src/builtins/mips64/
Dbuiltins-mips64.cc2299 constexpr RegList gp_regs = in Generate_WasmCompileLazy() local
2303 __ MultiPush(gp_regs); in Generate_WasmCompileLazy()
2319 __ MultiPop(gp_regs); in Generate_WasmCompileLazy()