| /linux/arch/arm64/kvm/ |
| A D | fpsimd.c | 125 struct cpu_fp_state fp_state; in kvm_arch_vcpu_ctxsync_fp() local 134 fp_state.st = &vcpu->arch.ctxt.fp_regs; in kvm_arch_vcpu_ctxsync_fp() 135 fp_state.sve_state = vcpu->arch.sve_state; in kvm_arch_vcpu_ctxsync_fp() 136 fp_state.sve_vl = vcpu->arch.sve_max_vl; in kvm_arch_vcpu_ctxsync_fp() 137 fp_state.sme_state = NULL; in kvm_arch_vcpu_ctxsync_fp() 138 fp_state.svcr = &__vcpu_sys_reg(vcpu, SVCR); in kvm_arch_vcpu_ctxsync_fp() 139 fp_state.fpmr = &__vcpu_sys_reg(vcpu, FPMR); in kvm_arch_vcpu_ctxsync_fp() 140 fp_state.fp_type = &vcpu->arch.fp_type; in kvm_arch_vcpu_ctxsync_fp() 143 fp_state.to_save = FP_STATE_SVE; in kvm_arch_vcpu_ctxsync_fp() 145 fp_state.to_save = FP_STATE_FPSIMD; in kvm_arch_vcpu_ctxsync_fp() [all …]
|
| /linux/arch/powerpc/kernel/ptrace/ |
| A D | ptrace-vsx.c | 32 buf[32] = target->thread.fp_state.fpscr; in fpr_get() 60 buf[32] = target->thread.fp_state.fpscr; in fpr_set() 69 target->thread.fp_state.fpscr = buf[32]; in fpr_set() 109 buf[i] = target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in vsr_get() 139 buf[i] = target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in vsr_set() 145 target->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in vsr_set()
|
| A D | ptrace-fpu.c | 23 *data = ((u32 *)child->thread.fp_state.fpr)[fpidx]; in ptrace_get_fpr() 27 *data = child->thread.fp_state.fpscr; in ptrace_get_fpr() 49 ((u32 *)child->thread.fp_state.fpr)[fpidx] = data; in ptrace_put_fpr() 53 child->thread.fp_state.fpscr = data; in ptrace_put_fpr()
|
| A D | ptrace32.c | 97 tmp = ((unsigned int *)child->thread.fp_state.fpr) in compat_arch_ptrace() 138 tmp = child->thread.fp_state.fpr[numReg - PT_FPR0][0]; in compat_arch_ptrace() 197 ((unsigned int *)child->thread.fp_state.fpr) in compat_arch_ptrace() 240 tmp = &child->thread.fp_state.fpr[numReg - PT_FPR0][0]; in compat_arch_ptrace()
|
| A D | ptrace-novsx.c | 30 return membuf_write(&to, &target->thread.fp_state, 33 * sizeof(u64)); in fpr_get() 60 &target->thread.fp_state, 0, -1); in fpr_set()
|
| /linux/arch/powerpc/kernel/ |
| A D | signal.h | 55 unsafe_put_user(__t->thread.fp_state.fpscr, &buf[i], label); \ 64 unsafe_put_user(__t->thread.fp_state.fpr[i][TS_VSRLOWOFFSET], \ 75 unsafe_get_user(__t->thread.fp_state.fpscr, &buf[i], label); \ 84 unsafe_get_user(__t->thread.fp_state.fpr[i][TS_VSRLOWOFFSET], \ 132 unsafe_copy_to_user(to, (task)->thread.fp_state.fpr, \ 136 unsafe_copy_from_user((task)->thread.fp_state.fpr, from, \ 142 return __copy_to_user(to, task->thread.fp_state.fpr, in copy_fpr_to_user() 149 return __copy_from_user(task->thread.fp_state.fpr, from, in copy_fpr_from_user()
|
| A D | signal.c | 35 buf[i] = task->thread.fp_state.fpscr; in copy_fpr_to_user() 49 task->thread.fp_state.fpscr = buf[i]; in copy_fpr_from_user() 62 buf[i] = task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET]; in copy_vsx_to_user() 75 task->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = buf[i]; in copy_vsx_from_user()
|
| A D | signal_32.c | 530 current->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; in restore_user_regs() 631 current->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; in restore_tm_user_regs() 702 load_fp_state(¤t->thread.fp_state); in restore_tm_user_regs() 803 tsk->thread.fp_state.fpscr = 0; /* turn off all fp exceptions */ in handle_rt_signal32() 894 tsk->thread.fp_state.fpscr = 0; /* turn off all fp exceptions */ in handle_signal32()
|
| A D | signal_64.c | 423 tsk->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; in __unsafe_restore_sigcontext() 560 tsk->thread.fp_state.fpr[i][TS_VSRLOWOFFSET] = 0; in restore_tm_sigcontexts() 601 load_fp_state(&tsk->thread.fp_state); in restore_tm_sigcontexts() 921 tsk->thread.fp_state.fpscr = 0; in handle_rt_signal64()
|
| A D | process.c | 463 load_fp_state(¤t->thread.fp_state); in do_restore_fp() 968 memcpy(&thr->ckfp_state, &thr->fp_state, in tm_reclaim_thread() 1990 memset(¤t->thread.fp_state, 0, sizeof(current->thread.fp_state)); in start_thread()
|
| A D | traps.c | 928 vdst = (u8 *)¤t->thread.fp_state.fpr[t][0]; in p9_hmi_special_emu() 1203 code = __parse_fpscr(current->thread.fp_state.fpscr); in parse_fpe() 1464 code = __parse_fpscr(current->thread.fp_state.fpscr); in emulate_math()
|
| A D | asm-offsets.c | 108 OFFSET(THREAD_FPSTATE, thread_struct, fp_state.fpr); in main()
|
| /linux/arch/arm/include/asm/ |
| A D | fpstate.h | 67 union fp_state { union 75 #define FP_SIZE (sizeof(union fp_state) / sizeof(int))
|
| A D | thread_info.h | 71 union fp_state fpstate __attribute__((aligned(8)));
|
| /linux/arch/arm/nwfpe/ |
| A D | fpa11.c | 73 void nwfpe_init_fpa(union fp_state *fp) in nwfpe_init_fpa()
|
| A D | fpa11.h | 83 extern void nwfpe_init_fpa(union fp_state *fp);
|
| A D | fpmodule.c | 76 if (sizeof(FPA11) > sizeof(union fp_state)) { in fpe_init()
|
| /linux/arch/powerpc/include/asm/ |
| A D | processor.h | 79 #define TS_FPR(i) fp_state.fpr[i][TS_FPROFFSET] 168 struct thread_fp_state fp_state; member
|
| A D | sfp-machine.h | 128 #define __FPU_FPSCR (current->thread.fp_state.fpscr)
|
| /linux/arch/arm/kernel/ |
| A D | ptrace.c | 757 0, sizeof(union fp_state), in arch_ptrace() 764 0, sizeof(union fp_state), in arch_ptrace()
|
| A D | process.c | 226 memset(&thread->fpstate, 0, sizeof(union fp_state)); in flush_thread()
|
| /linux/arch/arm64/include/asm/ |
| A D | fpsimd.h | 97 extern void fpsimd_bind_state_to_cpu(struct cpu_fp_state *fp_state);
|
| /linux/arch/powerpc/lib/ |
| A D | sstep.c | 987 current->thread.fp_state.fpr[reg + i][0] = buf[j].d[0]; in do_vsx_load() 988 current->thread.fp_state.fpr[reg + i][1] = buf[j].d[1]; in do_vsx_load() 1033 buf[j].d[0] = current->thread.fp_state.fpr[reg + i][0]; in do_vsx_store() 1034 buf[j].d[1] = current->thread.fp_state.fpr[reg + i][1]; in do_vsx_store()
|