Home
last modified time | relevance | path

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

12

/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/valgrind/coregrind/m_sigframe/
Dsigframe-s390x-linux.c181 sigregs->fpregs.fprs[0] = tst->arch.vex.guest_f0; in save_sigregs()
182 sigregs->fpregs.fprs[1] = tst->arch.vex.guest_f1; in save_sigregs()
183 sigregs->fpregs.fprs[2] = tst->arch.vex.guest_f2; in save_sigregs()
184 sigregs->fpregs.fprs[3] = tst->arch.vex.guest_f3; in save_sigregs()
185 sigregs->fpregs.fprs[4] = tst->arch.vex.guest_f4; in save_sigregs()
186 sigregs->fpregs.fprs[5] = tst->arch.vex.guest_f5; in save_sigregs()
187 sigregs->fpregs.fprs[6] = tst->arch.vex.guest_f6; in save_sigregs()
188 sigregs->fpregs.fprs[7] = tst->arch.vex.guest_f7; in save_sigregs()
189 sigregs->fpregs.fprs[8] = tst->arch.vex.guest_f8; in save_sigregs()
190 sigregs->fpregs.fprs[9] = tst->arch.vex.guest_f9; in save_sigregs()
[all …]
/external/compiler-rt/test/asan/TestCases/Linux/
Dptrace.cc44 #define PRINT_REG_FP(__fpregs) printf ("%lx\n", (elf_greg_t)fpregs[32])
99 fpregs_struct fpregs; in main() local
103 regset_io.iov_base = &fpregs; in main()
108 # define __PTRACE_FPARGS NULL, &fpregs in main()
112 PRINT_REG_FP(fpregs); in main()
/external/valgrind/memcheck/tests/amd64-solaris/
Dcontext_sse.c24 ucp->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xmm[0] = d0; in sighandler()
25 ucp->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xmm[1] = x0; in sighandler()
34 struct fpchip_state *fs = &uc.uc_mcontext.fpregs.fp_reg_set.fpchip_state; 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/valgrind/memcheck/tests/x86-solaris/
Dcontext_sse.c22 ucp->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xmm[0] = d0; in sighandler()
23 ucp->uc_mcontext.fpregs.fp_reg_set.fpchip_state.xmm[1] = x0; in sighandler()
32 struct fpchip_state *fs = &uc.uc_mcontext.fpregs.fp_reg_set.fpchip_state; in main()
/external/ltrace/sysdeps/linux-gnu/m68k/
Dfetch.c38 elf_fpregset_t fpregs; member
53 && ptrace(PTRACE_GETFPREGS, proc->pid, 0, &context->fpregs) < 0) in fetch_register_banks()
197 unsigned long *reg = &context->fpregs.fpregs[0]; in arch_fetch_retval()
/external/ltrace/sysdeps/linux-gnu/arm/
Dfetch.c56 } fpregs; member
84 NULL, &context->fpregs) == -1) in fetch_register_banks()
170 memcpy(data, ctx->fpregs.d + i, sz); in pass_in_vfp()
172 memcpy(data, ctx->fpregs.s + i, sz); in pass_in_vfp()
293 memmove(data, &ctx->fpregs, sz); in arch_fetch_retval()
/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/ltrace/sysdeps/linux-gnu/ppc/
Dfetch.c46 double fpregs[32]; member
64 struct fpregs_t fpregs; member
104 if (ptrace(PTRACE_GETFPREGS, proc->pid, 0, &context->fpregs) < 0) in fetch_context_init()
257 } u = { .d = ctx->fpregs.fpregs[ctx->freg] }; in allocate_float()
/external/valgrind/none/tests/x86/
Dgen_insn_test.pl198 my @fpregs = map { "st$_" } (0 .. 7);
253 my $register = $fpregs[$regnum];
266 delete($fpregs[$regnum]);
372 my $register = $fpregs[$regnum] if defined($regnum);
387 delete($fpregs[$regnum]);
448 $arg->{register} = shift @fpregs;
/external/valgrind/none/tests/amd64/
Dgen_insn_test.pl221 my @fpregs = map { "st$_" } (0 .. 7);
276 my $register = $fpregs[$regnum];
289 delete($fpregs[$regnum]);
395 my $register = $fpregs[$regnum] if defined($regnum);
410 delete($fpregs[$regnum]);
471 $arg->{register} = shift @fpregs;
/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/ltrace/sysdeps/linux-gnu/aarch64/
Dfetch.c39 struct user_fpsimd_state fpregs; member
50 || aarch64_read_fregs(proc, &context->fpregs) < 0) in context_init()
98 __int128 u = context->fpregs.vregs[context->nsrn++]; in fetch_next_sse()
/external/libchrome/sandbox/linux/system_headers/
Dmips_linux_ucontext.h24 uint64_t fpregs[32]; member
Di386_linux_ucontext.h51 struct _libc_fpstate* fpregs; member
/external/valgrind/memcheck/tests/amd64/
Dmore_x87_fp.c184 long double fpregs[8]; in test_fenv() member
191 long double fpregs[8]; in test_fenv() member
/external/valgrind/memcheck/tests/x86/
Dmore_x86_fp.c174 long double fpregs[8]; in test_fenv() member
181 long double fpregs[8]; in test_fenv() member

12