Home
last modified time | relevance | path

Searched refs:fpregs (Results 1 – 21 of 21) sorted by relevance

/external/libunwind/src/ppc32/
Ducontext_i.h94 #define UC_MCONTEXT_FREGS_R0 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->fpregs.fpregs[0] - (void *)&dm…
95 #define UC_MCONTEXT_FREGS_R1 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->fpregs.fpregs[1] - (void *)&dm…
96 #define UC_MCONTEXT_FREGS_R2 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->fpregs.fpregs[2] - (void *)&dm…
97 #define UC_MCONTEXT_FREGS_R3 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->fpregs.fpregs[3] - (void *)&dm…
98 #define UC_MCONTEXT_FREGS_R4 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->fpregs.fpregs[4] - (void *)&dm…
99 #define UC_MCONTEXT_FREGS_R5 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->fpregs.fpregs[5] - (void *)&dm…
100 #define UC_MCONTEXT_FREGS_R6 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->fpregs.fpregs[6] - (void *)&dm…
101 #define UC_MCONTEXT_FREGS_R7 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->fpregs.fpregs[7] - (void *)&dm…
102 #define UC_MCONTEXT_FREGS_R8 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->fpregs.fpregs[8] - (void *)&dm…
103 #define UC_MCONTEXT_FREGS_R9 ((void *)&dmy_ctxt.uc_mcontext.uc_regs->fpregs.fpregs[9] - (void *)&dm…
[all …]
DGinit.c56 addr = &uc->uc_mcontext.uc_regs->fpregs.fpregs[reg - UNW_PPC32_F0]; in uc_addr()
/external/google-breakpad/src/client/linux/dump_writer_common/
Dthread_info.cc96 out->float_save.control_word = fpregs.cwd; in FillCPUContext()
97 out->float_save.status_word = fpregs.swd; in FillCPUContext()
98 out->float_save.tag_word = fpregs.twd; in FillCPUContext()
99 out->float_save.error_offset = fpregs.fip; in FillCPUContext()
100 out->float_save.error_selector = fpregs.fcs; in FillCPUContext()
101 out->float_save.data_offset = fpregs.foo; in FillCPUContext()
102 out->float_save.data_selector = fpregs.fos; in FillCPUContext()
105 my_memcpy(out->float_save.register_area, fpregs.st_space, 10 * 8); in FillCPUContext()
108 U16(out->extended_registers + 0, fpregs.cwd); in FillCPUContext()
109 U16(out->extended_registers + 2, fpregs.swd); in FillCPUContext()
[all …]
Ducontext_reader.cc100 const struct _libc_fpstate* fpregs) {
132 out->flt_save.control_word = fpregs->cwd;
133 out->flt_save.status_word = fpregs->swd;
134 out->flt_save.tag_word = fpregs->ftw;
135 out->flt_save.error_opcode = fpregs->fop;
136 out->flt_save.error_offset = fpregs->rip;
137 out->flt_save.data_offset = fpregs->rdp;
140 out->flt_save.mx_csr = fpregs->mxcsr;
141 out->flt_save.mx_csr_mask = fpregs->mxcr_mask;
142 my_memcpy(&out->flt_save.float_registers, &fpregs->_st, 8 * 16);
[all …]
Dthread_info.h56 user_fpregs_struct fpregs; member
66 struct user_fpregs fpregs; member
70 struct user_fpsimd_state fpregs; member
73 user_fpregs_struct fpregs; member
Ducontext_reader.h56 const struct fpsimd_context* fpregs);
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
Dptrace.cc39 user_fpregs_struct fpregs; in main() local
40 res = ptrace(PTRACE_GETFPREGS, pid, NULL, &fpregs); in main()
42 if (fpregs.mxcsr) in main()
43 printf("%x\n", fpregs.mxcsr); in main()
61 elf_fpregset_t fpregs; in main() local
62 res = ptrace((enum __ptrace_request)PTRACE_GETFPREGS, pid, NULL, &fpregs); in main()
64 if ((elf_greg_t)fpregs[32]) // fpscr in main()
65 printf("%lx\n", (elf_greg_t)fpregs[32]); in main()
86 struct user_fpsimd_state fpregs; in main() local
87 regset_io.iov_base = &fpregs; in main()
[all …]
/external/compiler-rt/test/asan/TestCases/Linux/
Dptrace.cc44 #define PRINT_REG_FP(__fpregs) printf ("%lx\n", (elf_greg_t)fpregs[32])
106 fpregs_struct fpregs; in main() local
110 regset_io.iov_base = &fpregs; in main()
115 # define __PTRACE_FPARGS NULL, &fpregs in main()
119 PRINT_REG_FP(fpregs); in main()
/external/google-breakpad/src/tools/linux/md2core/
Dminidump-2-core.cc213 user_fpregs_struct fpregs; member
274 thread->fpregs.cwd = rawregs->float_save.control_word; in ParseThreadRegisters()
275 thread->fpregs.swd = rawregs->float_save.status_word; in ParseThreadRegisters()
276 thread->fpregs.twd = rawregs->float_save.tag_word; in ParseThreadRegisters()
277 thread->fpregs.fip = rawregs->float_save.error_offset; in ParseThreadRegisters()
278 thread->fpregs.fcs = rawregs->float_save.error_selector; in ParseThreadRegisters()
279 thread->fpregs.foo = rawregs->float_save.data_offset; in ParseThreadRegisters()
280 thread->fpregs.fos = rawregs->float_save.data_selector; in ParseThreadRegisters()
281 memcpy(thread->fpregs.st_space, rawregs->float_save.register_area, in ParseThreadRegisters()
330 thread->fpregs.cwd = rawregs->flt_save.control_word; in ParseThreadRegisters()
[all …]
/external/google-breakpad/src/common/android/
Dbreakpad_getcontext_unittest.cc96 offsetof(ucontext_t,uc_mcontext.fpregs)); in TEST()
109 offsetof(ucontext_t,uc_mcontext.fpregs)); in TEST()
140 COMPILE_ASSERT_EQ(offsetof(mcontext_t,fpregs), in TEST()
169 offsetof(ucontext_t,uc_mcontext.fpregs), in TEST()
/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_core_dumper.cc221 if (description.length() != sizeof(info->fpregs)) { in EnumerateThreads()
226 memcpy(&info->fpregs, description.data(), sizeof(info->fpregs)); in EnumerateThreads()
Dlinux_ptrace_dumper.cc199 io.iov_base = &info->fpregs; in GetThreadInfoByIndex()
200 io.iov_len = sizeof(info->fpregs); in GetThreadInfoByIndex()
209 if (sys_ptrace(PTRACE_GETFPREGS, tid, NULL, &info->fpregs) == -1) { in GetThreadInfoByIndex()
/external/google-breakpad/src/google_breakpad/common/
Dminidump_cpu_ppc.h86 uint64_t fpregs[MD_FLOATINGSAVEAREA_PPC_FPR_COUNT]; member
/external/linux-kselftest/tools/testing/selftests/x86/
Dprotection_keys.c265 char *fpregs; in signal_handler() local
279 fpregset = uctxt->uc_mcontext.fpregs; in signal_handler()
280 fpregs = (void *)fpregset; in signal_handler()
290 fpregs += 0x70; in signal_handler()
293 pkru_ptr = (void *)(&fpregs[pkru_offset]); in signal_handler()
296 dprintf1(" fpregs: %p\n", fpregs); in signal_handler()
Dmpx-mini-test.c216 (uint8_t *)uctxt->uc_mcontext.fpregs + XSAVE_OFFSET_IN_FPMEM, in read_mpx_status_sig()
/external/google-breakpad/src/client/linux/handler/
Dexception_handler.cc438 if (uc_ptr->uc_mcontext.fpregs) { in HandleSignal()
440 uc_ptr->uc_mcontext.fpregs, in HandleSignal()
658 memcpy(&context.float_state, context.context.uc_mcontext.fpregs, in WriteMinidump()
/external/v8/src/libsampler/
Dsampler.cc114 uint64_t fpregs[32]; member
142 void* fpregs; member
161 void* fpregs; member
/external/google-breakpad/src/processor/
Ddump_context.cc362 fpr_index, context_ppc->float_save.fpregs[fpr_index]); in Print()
405 fpr_index, context_ppc64->float_save.fpregs[fpr_index]); in Print()
Dminidump.cc616 Swap(&context_ppc64->float_save.fpregs[fpr_index]); in Read()
893 Swap(&context_ppc->float_save.fpregs[fpr_index]); in Read()
/external/google-breakpad/src/client/solaris/handler/
Dminidump_generator.cc268 &writer_args->sig_ctx->uc_mcontext.fpregs); in WriteCrashedLwpStream()
/external/syzkaller/sys/akaros/
Ddev.txt42 openat$proc_self_fpregs(fromfd const[AT_FDCWD], path ptr[in, string["/proc/self/fpregs"]], path_l l…