Home
last modified time | relevance | path

Searched refs:fpu (Results 1 – 123 of 123) sorted by relevance

/linux-4.1.27/arch/x86/include/asm/
Dfpu-internal.h89 tsk->thread.fpu.last_cpu = ~0; in task_disable_lazy_fpu_restore()
95 cpu == new->thread.fpu.last_cpu; in fpu_lazy_restore()
232 static inline void fpu_fxsave(struct fpu *fpu) in fpu_fxsave() argument
235 asm volatile( "fxsave %[fx]" : [fx] "=m" (fpu->state->fxsave)); in fpu_fxsave()
237 asm volatile("fxsaveq %[fx]" : [fx] "=m" (fpu->state->fxsave)); in fpu_fxsave()
261 : "=m" (fpu->state->fxsave) in fpu_fxsave()
262 : [fx] "R" (&fpu->state->fxsave)); in fpu_fxsave()
270 static inline int fpu_save_init(struct fpu *fpu) in fpu_save_init() argument
273 fpu_xsave(fpu); in fpu_save_init()
278 if (!(fpu->state->xsave.xsave_hdr.xstate_bv & XSTATE_FP)) in fpu_save_init()
[all …]
Di387.h22 extern void fpu_finit(struct fpu *fpu);
101 return current->thread.fpu.has_fpu; in user_has_fpu()
Dxsave.h191 static inline void fpu_xsave(struct fpu *fpu) in fpu_xsave() argument
193 xsave_state(&fpu->state->xsave, -1); in fpu_xsave()
Dprocessor.h432 struct fpu { struct
522 struct fpu fpu; member
Dkvm_host.h403 struct fpu guest_fpu;
/linux-4.1.27/arch/mips/kernel/
Dasm-offsets.c123 OFFSET(THREAD_FPU, task_struct, thread.fpu); in output_thread_defines()
136 OFFSET(THREAD_FPR0, task_struct, thread.fpu.fpr[0]); in output_thread_fpu_defines()
137 OFFSET(THREAD_FPR1, task_struct, thread.fpu.fpr[1]); in output_thread_fpu_defines()
138 OFFSET(THREAD_FPR2, task_struct, thread.fpu.fpr[2]); in output_thread_fpu_defines()
139 OFFSET(THREAD_FPR3, task_struct, thread.fpu.fpr[3]); in output_thread_fpu_defines()
140 OFFSET(THREAD_FPR4, task_struct, thread.fpu.fpr[4]); in output_thread_fpu_defines()
141 OFFSET(THREAD_FPR5, task_struct, thread.fpu.fpr[5]); in output_thread_fpu_defines()
142 OFFSET(THREAD_FPR6, task_struct, thread.fpu.fpr[6]); in output_thread_fpu_defines()
143 OFFSET(THREAD_FPR7, task_struct, thread.fpu.fpr[7]); in output_thread_fpu_defines()
144 OFFSET(THREAD_FPR8, task_struct, thread.fpu.fpr[8]); in output_thread_fpu_defines()
[all …]
Dptrace32.c128 tmp = child->thread.fpu.fcr31; in compat_arch_ptrace()
202 memset(&child->thread.fpu, ~0, in compat_arch_ptrace()
203 sizeof(child->thread.fpu)); in compat_arch_ptrace()
204 child->thread.fpu.fcr31 = 0; in compat_arch_ptrace()
229 child->thread.fpu.fcr31 = data; in compat_arch_ptrace()
Dptrace.c57 memset(&target->thread.fpu.fpr, ~0, sizeof(target->thread.fpu.fpr)); in init_fp_ctx()
91 fcr31 = child->thread.fpu.fcr31; in ptrace_setfcr31()
93 child->thread.fpu.fcr31 = (value & ~mask) | (fcr31 & mask); in ptrace_setfcr31()
166 __put_user(child->thread.fpu.fcr31, data + 64); in ptrace_getfpregs()
452 if (sizeof(target->thread.fpu.fpr[i]) == sizeof(elf_fpreg_t)) in fpr_get()
454 &target->thread.fpu, in fpr_get()
458 fpr_val = get_fpr64(&target->thread.fpu.fpr[i], 0); in fpr_get()
482 if (sizeof(target->thread.fpu.fpr[i]) == sizeof(elf_fpreg_t)) in fpr_set()
484 &target->thread.fpu, in fpr_set()
493 set_fpr64(&target->thread.fpu.fpr[i], 0, fpr_val); in fpr_set()
[all …]
Dkgdb.c146 memcpy((void *)&current->thread.fpu.fcr31, mem, in dbg_set_reg()
154 memcpy((void *)&current->thread.fpu.fpr[fp_reg], mem, in dbg_set_reg()
181 memcpy(mem, (void *)&current->thread.fpu.fcr31, in dbg_get_reg()
190 memcpy(mem, (void *)&current->thread.fpu.fpr[fp_reg], in dbg_get_reg()
Dtraps.c799 sig = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 1, in simulate_fp()
801 fcr31 = current->thread.fpu.fcr31; in simulate_fp()
807 current->thread.fpu.fcr31 &= ~FPU_CSR_ALL_X; in simulate_fp()
853 sig = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 1, in do_fpe()
855 fcr31 = current->thread.fpu.fcr31; in do_fpe()
861 current->thread.fpu.fcr31 &= ~FPU_CSR_ALL_X; in do_fpe()
1282 write_msa_csr(current->thread.fpu.msacsr); in enable_restore_fp_context()
1319 current->thread.fpu.fcr31); in enable_restore_fp_context()
1416 sig = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 0, in do_cpu()
1418 fcr31 = current->thread.fpu.fcr31; in do_cpu()
[all …]
Dsignal.c75 __put_user(get_fpr64(&current->thread.fpu.fpr[i], 0), in copy_fp_to_sigcontext()
78 err |= __put_user(current->thread.fpu.fcr31, &sc->sc_fpc_csr); in copy_fp_to_sigcontext()
91 set_fpr64(&current->thread.fpu.fpr[i], 0, fpr_val); in copy_fp_from_sigcontext()
93 err |= __get_user(current->thread.fpu.fcr31, &sc->sc_fpc_csr); in copy_fp_from_sigcontext()
Dsignal32.c89 __put_user(get_fpr64(&current->thread.fpu.fpr[i], 0), in copy_fp_to_sigcontext32()
92 err |= __put_user(current->thread.fpu.fcr31, &sc->sc_fpc_csr); in copy_fp_to_sigcontext32()
106 set_fpr64(&current->thread.fpu.fpr[i], 0, fpr_val); in copy_fp_from_sigcontext32()
108 err |= __get_user(current->thread.fpu.fcr31, &sc->sc_fpc_csr); in copy_fp_from_sigcontext32()
Dbranch.c152 fcr31 = current->thread.fpu.fcr31; in __mm_isBranchInstr()
695 if (get_fpr32(&current->thread.fpu.fpr[reg], 0) in __compute_return_epc_for_insn()
701 if (!(get_fpr32(&current->thread.fpu.fpr[reg], 0) in __compute_return_epc_for_insn()
721 fcr31 = current->thread.fpu.fcr31; in __compute_return_epc_for_insn()
Dmips-r2-to-r6-emul.c202 csr = current->thread.fpu.fcr31; in movf_func()
225 csr = current->thread.fpu.fcr31; in movt_func()
1171 err = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 0, in mipsr2_decoder()
1173 *fcr31 = current->thread.fpu.fcr31; in mipsr2_decoder()
1179 current->thread.fpu.fcr31 &= ~FPU_CSR_ALL_X; in mipsr2_decoder()
Dunaligned.c1194 res = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 1, in emulate_load_store_insn()
1629 res = fpu_emulator_cop1Handler(regs, &current->thread.fpu, 1, in emulate_load_store_microMIPS()
/linux-4.1.27/arch/sparc/kernel/
Dsigutil_64.c14 int save_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu) in save_fpu_state() argument
22 err |= copy_to_user(&fpu->si_float_regs[0], fpregs, in save_fpu_state()
25 err |= copy_to_user(&fpu->si_float_regs[32], fpregs+16, in save_fpu_state()
27 err |= __put_user(current_thread_info()->xfsr[0], &fpu->si_fsr); in save_fpu_state()
28 err |= __put_user(current_thread_info()->gsr[0], &fpu->si_gsr); in save_fpu_state()
29 err |= __put_user(fprs, &fpu->si_fprs); in save_fpu_state()
34 int restore_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu) in restore_fpu_state() argument
40 err = __get_user(fprs, &fpu->si_fprs); in restore_fpu_state()
44 err |= copy_from_user(fpregs, &fpu->si_float_regs[0], in restore_fpu_state()
47 err |= copy_from_user(fpregs+16, &fpu->si_float_regs[32], in restore_fpu_state()
[all …]
Dsigutil_32.c14 int save_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu) in save_fpu_state() argument
34 err |= __copy_to_user(&fpu->si_float_regs[0], in save_fpu_state()
37 err |= __put_user(current->thread.fsr, &fpu->si_fsr); in save_fpu_state()
38 err |= __put_user(current->thread.fpqdepth, &fpu->si_fpqdepth); in save_fpu_state()
40 err |= __copy_to_user(&fpu->si_fpqueue[0], in save_fpu_state()
48 int restore_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu) in restore_fpu_state() argument
63 if (!access_ok(VERIFY_READ, fpu, sizeof(*fpu))) in restore_fpu_state()
66 err = __copy_from_user(&current->thread.float_regs[0], &fpu->si_float_regs[0], in restore_fpu_state()
68 err |= __get_user(current->thread.fsr, &fpu->si_fsr); in restore_fpu_state()
69 err |= __get_user(current->thread.fpqdepth, &fpu->si_fpqdepth); in restore_fpu_state()
[all …]
Dsigutil.h4 int save_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu);
5 int restore_fpu_state(struct pt_regs *regs, __siginfo_fpu_t __user *fpu);
Dcpu.c282 const struct fpu_info *fpu; in set_cpu_and_fpu() local
295 fpu = &manuf->fpu_info[0]; in set_cpu_and_fpu()
296 while (fpu->fp_vers != -1) in set_cpu_and_fpu()
298 if (fpu->fp_vers == fpu_vers) { in set_cpu_and_fpu()
299 sparc_fpu_type = fpu->name; in set_cpu_and_fpu()
302 fpu++; in set_cpu_and_fpu()
Dentry.S1068 st %fsr, [%o1] ! this can trap on us if fpu is in bogon state
/linux-4.1.27/arch/m68k/kernel/
Dprocess.c207 int dump_fpu (struct pt_regs *regs, struct user_m68kfp_struct *fpu) in dump_fpu() argument
214 memcpy(fpu->fpcntl, current->thread.fpcntl, 12); in dump_fpu()
215 memcpy(fpu->fpregs, current->thread.fp, 96); in dump_fpu()
220 fpu->fpregs[i] = ((fpu->fpregs[i] & 0xffff0000) << 15) | in dump_fpu()
221 ((fpu->fpregs[i] & 0x0000ffff) << 16); in dump_fpu()
236 : "m" (fpu->fpcntl[0]), in dump_fpu()
237 "m" (fpu->fpcntl[1]), in dump_fpu()
238 "m" (fpu->fpcntl[2]), in dump_fpu()
239 "m" (fpu->fpregs[0]) in dump_fpu()
244 : "m" (fpu->fpcntl[0]) in dump_fpu()
[all …]
Dsetup_mm.c407 const char *cpu, *mmu, *fpu; in show_cpuinfo() local
437 fpu = "none(soft float)"; in show_cpuinfo()
440 fpu = "68881"; in show_cpuinfo()
442 fpu = "68882"; in show_cpuinfo()
444 fpu = "68040"; in show_cpuinfo()
446 fpu = "68060"; in show_cpuinfo()
448 fpu = "Sun FPA"; in show_cpuinfo()
450 fpu = "ColdFire"; in show_cpuinfo()
452 fpu = "none"; in show_cpuinfo()
480 cpu, mmu, fpu, in show_cpuinfo()
Dsetup_no.c271 char *cpu, *mmu, *fpu; in show_cpuinfo() local
276 fpu = "none"; in show_cpuinfo()
285 cpu, mmu, fpu, in show_cpuinfo()
/linux-4.1.27/arch/mn10300/kernel/
DMakefile6 fpu-obj-y := fpu-nofpu.o fpu-nofpu-low.o
7 fpu-obj-$(CONFIG_FPU) := fpu.o fpu-low.o
11 switch_to.o mn10300_ksyms.o $(fpu-obj-y) \
Dfpu-low.S159 # - save the fpu state
/linux-4.1.27/arch/x86/kernel/
Di387.c236 void fpu_finit(struct fpu *fpu) in fpu_finit() argument
239 finit_soft_fpu(&fpu->state->soft); in fpu_finit()
243 memset(fpu->state, 0, xstate_size); in fpu_finit()
246 fx_finit(&fpu->state->fxsave); in fpu_finit()
248 struct i387_fsave_struct *fp = &fpu->state->fsave; in fpu_finit()
277 ret = fpu_alloc(&tsk->thread.fpu); in init_fpu()
281 fpu_finit(&tsk->thread.fpu); in init_fpu()
319 &target->thread.fpu.state->fxsave, 0, -1); in xfpregs_get()
338 &target->thread.fpu.state->fxsave, 0, -1); in xfpregs_set()
343 target->thread.fpu.state->fxsave.mxcsr &= mxcsr_feature_mask; in xfpregs_set()
[all …]
Dxsave.c45 struct i387_fxsave_struct *fx = &tsk->thread.fpu.state->fxsave; in __sanitize_i387_state()
52 xstate_bv = tsk->thread.fpu.state->xsave.xsave_hdr.xstate_bv; in __sanitize_i387_state()
142 struct xsave_struct *xsave = &tsk->thread.fpu.state->xsave; in save_fsave_header()
240 struct xsave_struct *xsave = &current->thread.fpu.state->xsave; in save_xstate_sig()
261 fpu_fxsave(&tsk->thread.fpu); in save_xstate_sig()
283 struct xsave_struct *xsave = &tsk->thread.fpu.state->xsave; in sanitize_restored_xstate()
382 struct fpu *fpu = &tsk->thread.fpu; in __restore_xstate_sig() local
396 if (__copy_from_user(&fpu->state->xsave, buf_fx, state_size) || in __restore_xstate_sig()
398 fpu_finit(fpu); in __restore_xstate_sig()
Dprocess.c91 dst->thread.fpu.has_fpu = 0; in arch_dup_task_struct()
92 dst->thread.fpu.state = NULL; in arch_dup_task_struct()
95 int err = fpu_alloc(&dst->thread.fpu); in arch_dup_task_struct()
105 fpu_free(&tsk->thread.fpu); in free_thread_xstate()
Dprocess_32.c248 fpu_switch_t fpu; in __switch_to() local
252 fpu = switch_fpu_prepare(prev_p, next_p, cpu); in __switch_to()
322 switch_fpu_finish(next_p, fpu); in __switch_to()
Dprocess_64.c281 fpu_switch_t fpu; in __switch_to() local
283 fpu = switch_fpu_prepare(prev_p, next_p, cpu); in __switch_to()
395 switch_fpu_finish(next_p, fpu); in __switch_to()
Dtraps.c399 fpu_save_init(&tsk->thread.fpu); in do_bounds()
400 xsave_buf = &(tsk->thread.fpu.state->xsave); in do_bounds()
/linux-4.1.27/include/linux/
Delfcore.h42 …ine int elf_core_copy_task_fpregs(struct task_struct *t, struct pt_regs *regs, elf_fpregset_t *fpu) in elf_core_copy_task_fpregs() argument
45 return ELF_CORE_COPY_FPREGS(t, fpu); in elf_core_copy_task_fpregs()
47 return dump_fpu(regs, fpu); in elf_core_copy_task_fpregs()
Dkvm_host.h627 int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu);
628 int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu);
/linux-4.1.27/arch/m68k/math-emu/
Dfp_movem.S74 printf PDECODE,"->" | fpu -> cpu
76 1: printf PDECODE,"<-" | fpu <- cpu
132 swap %d1 | get fpu register list
141 | move register from memory into fpu
161 | move register from fpu into memory
218 printf PDECODE,"->" | fpu -> cpu
220 1: printf PDECODE,"<-" | fpu <- cpu
319 swap %d1 | get fpu register list
325 | move register from memory into fpu
336 | move register from fpu into memory
Dfp_scan.S64 | normal fpu instruction? (this excludes fsave/frestore)
92 fp_fgen_fp: | source is a fpu register
/linux-4.1.27/arch/mips/kvm/
Dmips.c534 struct mips_fpu_struct *fpu = &vcpu->arch.fpu; in kvm_mips_get_reg() local
562 v = get_fpr32(&fpu->fpr[idx], 0); in kvm_mips_get_reg()
564 v = get_fpr32(&fpu->fpr[idx & ~1], idx & 1); in kvm_mips_get_reg()
573 v = get_fpr64(&fpu->fpr[idx], 0); in kvm_mips_get_reg()
583 v = fpu->fcr31; in kvm_mips_get_reg()
596 vs[0] = get_fpr64(&fpu->fpr[idx], 0); in kvm_mips_get_reg()
597 vs[1] = get_fpr64(&fpu->fpr[idx], 1); in kvm_mips_get_reg()
600 vs[0] = get_fpr64(&fpu->fpr[idx], 1); in kvm_mips_get_reg()
601 vs[1] = get_fpr64(&fpu->fpr[idx], 0); in kvm_mips_get_reg()
612 v = fpu->msacsr; in kvm_mips_get_reg()
[all …]
DMakefile12 dyntrans.o trap_emul.o fpu.o
/linux-4.1.27/arch/sh/math-emu/
Dmath.c477 static void denormal_to_double(struct sh_fpu_soft_struct *fpu, int n) in denormal_to_double() argument
480 unsigned long x = fpu->fpul; in denormal_to_double()
493 fpu->fp_regs[n] = du; in denormal_to_double()
494 fpu->fp_regs[n+1] = dl; in denormal_to_double()
581 static void fpu_init(struct sh_fpu_soft_struct *fpu) in fpu_init() argument
585 fpu->fpscr = FPSCR_INIT; in fpu_init()
586 fpu->fpul = 0; in fpu_init()
589 fpu->fp_regs[i] = 0; in fpu_init()
590 fpu->xfp_regs[i]= 0; in fpu_init()
602 struct sh_fpu_soft_struct *fpu = &(tsk->thread.xstate->softfpu); in do_fpu_inst() local
[all …]
/linux-4.1.27/arch/arc/kernel/
Dfpu.c35 unsigned int *saveto = &prev->thread.fpu.aux_dpfp[0].l; in fpu_save_restore()
36 unsigned int *readfrom = &next->thread.fpu.aux_dpfp[0].l; in fpu_save_restore()
DMakefile24 obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o
Dprocess.c191 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
/linux-4.1.27/arch/m32r/kernel/
Dptrace.c113 else if (off >= (long)(&dummy->fpu >> 2) && in ptrace_read_user()
116 if (off == (long)(&dummy->fpu.fpscr >> 2)) in ptrace_read_user()
121 tmp = ((long *)(&tsk->thread.fpu >> 2)) in ptrace_read_user()
122 [off - (long)&dummy->fpu]; in ptrace_read_user()
169 else if (off >= (long)(&dummy->fpu >> 2) && in ptrace_write_user()
172 ((long *)&tsk->thread.fpu) in ptrace_write_user()
173 [off - (long)&dummy->fpu] = data; in ptrace_write_user()
Dprocess.c126 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
/linux-4.1.27/arch/mips/include/asm/
Dfpu.h173 current->thread.fpu.fcr31 = in lose_fpu()
191 unsigned int fcr31 = current->thread.fpu.fcr31; in init_fpu()
248 return tsk->thread.fpu.fpr; in get_fpu_regs()
Dprocessor.h260 struct mips_fpu_struct fpu FPU_ALIGN;
318 .fpu = { \
Dfpu_emulator.h92 set_fpr64(&t->thread.fpu.fpr[i], 0, SIGNALLING_NAN); in fpu_emulator_init_fpu()
Delf.h307 current->thread.fpu.fcr31 = boot_cpu_data.fpu_csr31; \
369 current->thread.fpu.fcr31 = boot_cpu_data.fpu_csr31; \
Dkvm_host.h390 struct mips_fpu_struct fpu; member
/linux-4.1.27/arch/x86/um/asm/
Delf.h207 extern int elf_core_copy_fpregs(struct task_struct *t, elf_fpregset_t *fpu);
209 #define ELF_CORE_COPY_FPREGS(t, fpu) elf_core_copy_fpregs(t, fpu) argument
/linux-4.1.27/arch/sparc/
DMakefile27 KBUILD_CFLAGS += -m32 -mcpu=v8 -pipe -mno-fpu -fcall-used-g5 -fcall-used-g7
40 KBUILD_CFLAGS += -m64 -pipe -mno-fpu -mcpu=ultrasparc -mcmodel=medlow
/linux-4.1.27/arch/c6x/kernel/
Dsetup.c79 const char *fpu; member
122 p->fpu = "none"; in get_cpuinfo()
128 p->fpu = "yes"; in get_cpuinfo()
470 p->core_id, p->mmu, p->fpu, in show_cpuinfo()
/linux-4.1.27/arch/sh/kernel/
Dptrace_32.c388 else if (addr >= offsetof(struct user, fpu) && in arch_ptrace()
391 if (addr == offsetof(struct user, fpu.fpscr)) in arch_ptrace()
400 index = addr - offsetof(struct user, fpu); in arch_ptrace()
428 else if (addr >= offsetof(struct user, fpu) && in arch_ptrace()
434 index = addr - offsetof(struct user, fpu); in arch_ptrace()
Dptrace_64.c403 else if ((addr >= offsetof(struct user, fpu)) && in arch_ptrace()
409 index = addr - offsetof(struct user, fpu); in arch_ptrace()
445 else if ((addr >= offsetof(struct user, fpu)) && in arch_ptrace()
451 index = addr - offsetof(struct user, fpu); in arch_ptrace()
Dprocess_32.c105 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
116 fpu, NULL); in dump_fpu()
Dprocess_64.c345 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
361 memcpy(fpu, &tsk->thread.xstate->hardfpu, sizeof(*fpu)); in dump_fpu()
/linux-4.1.27/arch/sh/kernel/cpu/sh4/
Dfpu.c150 static void denormal_to_double(struct sh_fpu_hard_struct *fpu, int n) in denormal_to_double() argument
153 unsigned long x = fpu->fpul; in denormal_to_double()
166 fpu->fp_regs[n] = du; in denormal_to_double()
167 fpu->fp_regs[n + 1] = dl; in denormal_to_double()
DMakefile9 obj-$(CONFIG_SH_FPU) += fpu.o softfloat.o
/linux-4.1.27/arch/cris/kernel/
Dprocess.c76 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
/linux-4.1.27/arch/sh/kernel/cpu/sh5/
DMakefile6 obj-$(CONFIG_SH_FPU) += fpu.o
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/
Dfpu.c380 denormal_to_double (struct sh_fpu_hard_struct *fpu, int n) in denormal_to_double() argument
383 unsigned long x = fpu->fpul; in denormal_to_double()
396 fpu->fp_regs[n] = du; in denormal_to_double()
397 fpu->fp_regs[n+1] = dl; in denormal_to_double()
DMakefile9 obj-$(CONFIG_SH_FPU) += fpu.o
/linux-4.1.27/arch/m68k/ifpsp060/
DMISC35 hdr.fpu : 2.4
105 hdr.fpu : 2.4
150 hdr.fpu : 2.4
Dfpsp.doc234 (unimplemented (fpu disabled) (possible F-line illegal)
243 | | fpu disabled? exit through
Dfskeleton.S233 move.l %d0,-(%sp) | enabled the fpu
/linux-4.1.27/arch/powerpc/kvm/
DMakefile50 fpu.o \
104 fpu.o \
Dbook3s.c521 int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) in kvm_arch_vcpu_ioctl_get_fpu() argument
526 int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) in kvm_arch_vcpu_ioctl_set_fpu() argument
Dbooke.c1750 int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) in kvm_arch_vcpu_ioctl_get_fpu() argument
1755 int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) in kvm_arch_vcpu_ioctl_set_fpu() argument
/linux-4.1.27/arch/sh/kernel/cpu/
DMakefile21 obj-y += irq/ init.o clock.o fpu.o pfc.o proc.o
Dinit.c55 onchip_setup(fpu);
/linux-4.1.27/arch/nios2/
DMakefile29 KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_FPU_SUPPORT),-mcustom-fpu-cfg=60-1,)
/linux-4.1.27/arch/sh/include/asm/
Duser.h46 struct user_fpu_struct fpu; /* Math Co-processor registers */ member
/linux-4.1.27/arch/mips/loongson/loongson-3/
Dcop2-ex.c46 _init_fpu(current->thread.fpu.fcr31); in loongson_cu2_call()
/linux-4.1.27/fs/
Dbinfmt_elf_fdpic.c1410 elf_fpregset_t fpu; /* NT_PRFPREG */ member
1439 t->prstatus.pr_fpvalid = elf_core_copy_task_fpregs(p, NULL, &t->fpu); in elf_dump_thread_status()
1441 fill_note(&t->notes[1], "CORE", NT_PRFPREG, sizeof(t->fpu), in elf_dump_thread_status()
1442 &t->fpu); in elf_dump_thread_status()
1546 elf_fpregset_t *fpu = NULL; in elf_fdpic_core_dump() local
1584 fpu = kmalloc(sizeof(*fpu), GFP_KERNEL); in elf_fdpic_core_dump()
1585 if (!fpu) in elf_fdpic_core_dump()
1653 elf_core_copy_task_fpregs(current, cprm->regs, fpu))) in elf_fdpic_core_dump()
1655 "CORE", NT_PRFPREG, sizeof(*fpu), fpu); in elf_fdpic_core_dump()
1785 kfree(fpu); in elf_fdpic_core_dump()
Dbinfmt_elf.c1846 elf_fpregset_t fpu; /* NT_PRFPREG */ member
1875 &t->fpu))) { in elf_dump_thread_status()
1876 fill_note(&t->notes[1], "CORE", NT_PRFPREG, sizeof(t->fpu), in elf_dump_thread_status()
1877 &(t->fpu)); in elf_dump_thread_status()
1899 elf_fpregset_t *fpu; member
1923 info->fpu = kmalloc(sizeof(*info->fpu), GFP_KERNEL); in elf_note_info_init()
1924 if (!info->fpu) in elf_note_info_init()
1992 info->fpu); in fill_note_info()
1995 "CORE", NT_PRFPREG, sizeof(*info->fpu), info->fpu); in fill_note_info()
2057 kfree(info->fpu); in free_note_info()
/linux-4.1.27/arch/arm/kvm/
Dguest.c278 int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) in kvm_arch_vcpu_ioctl_get_fpu() argument
283 int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) in kvm_arch_vcpu_ioctl_set_fpu() argument
/linux-4.1.27/arch/unicore32/kernel/
DMakefile12 obj-$(CONFIG_UNICORE_FPU_F64) += fpu-ucf64.o
Dentry.S415 cff r1, s31 @ get fpu FPSCR
/linux-4.1.27/arch/mips/dec/
Dint-handler.S143 bnez t2,fpu # handle FPU immediately
269 fpu: label
/linux-4.1.27/arch/arm64/kvm/
Dguest.c319 int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) in kvm_arch_vcpu_ioctl_get_fpu() argument
324 int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) in kvm_arch_vcpu_ioctl_set_fpu() argument
/linux-4.1.27/arch/arc/include/asm/
Dprocessor.h39 struct arc_fpu fpu; member
/linux-4.1.27/arch/um/kernel/
Dprocess.c399 int elf_core_copy_fpregs(struct task_struct *t, elf_fpregset_t *fpu) in elf_core_copy_fpregs() argument
403 return save_fp_registers(userspace_pid[cpu], (unsigned long *) fpu); in elf_core_copy_fpregs()
/linux-4.1.27/arch/tile/include/asm/
Delf.h103 #define ELF_CORE_COPY_FPREGS(t, fpu) 0 argument
/linux-4.1.27/arch/hexagon/kernel/
Dprocess.c184 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
/linux-4.1.27/arch/alpha/include/uapi/asm/
DKbuild12 header-y += fpu.h
/linux-4.1.27/arch/ia64/include/uapi/asm/
DKbuild13 header-y += fpu.h
/linux-4.1.27/arch/openrisc/kernel/
Dprocess.c208 int dump_fpu(struct pt_regs *regs, elf_fpregset_t * fpu) in dump_fpu() argument
/linux-4.1.27/arch/arm/crypto/
Dghash-ce-core.S36 .fpu crypto-neon-fp-armv8
Dsha2-ce-core.S16 .fpu crypto-neon-fp-armv8
DMakefile18 ifeq ($(call as-instr,.fpu crypto-neon-fp-armv8,y,n),y)
Dsha1-ce-core.S16 .fpu crypto-neon-fp-armv8
Dsha512-armv7-neon.S16 .fpu neon
Daes-ce-core.S15 .fpu crypto-neon-fp-armv8
Dsha1-armv7-neon.S16 .fpu neon
Daesbs-core.S_shipped71 .fpu neon
Dsha256-core.S_shipped1870 .fpu neon
/linux-4.1.27/arch/x86/math-emu/
Dfpu_system.h49 #define I387 (current->thread.fpu.state)
Dfpu_aux.c55 finit_soft_fpu(&current->thread.fpu.state->soft); in finit()
Dfpu_entry.c684 struct i387_soft_struct *s387 = &target->thread.fpu.state->soft; in fpregs_soft_set()
736 struct i387_soft_struct *s387 = &target->thread.fpu.state->soft; in fpregs_soft_get()
/linux-4.1.27/virt/kvm/
Dkvm_main.c2094 struct kvm_fpu *fpu = NULL; in kvm_vcpu_ioctl() local
2258 fpu = kzalloc(sizeof(struct kvm_fpu), GFP_KERNEL); in kvm_vcpu_ioctl()
2260 if (!fpu) in kvm_vcpu_ioctl()
2262 r = kvm_arch_vcpu_ioctl_get_fpu(vcpu, fpu); in kvm_vcpu_ioctl()
2266 if (copy_to_user(argp, fpu, sizeof(struct kvm_fpu))) in kvm_vcpu_ioctl()
2272 fpu = memdup_user(argp, sizeof(*fpu)); in kvm_vcpu_ioctl()
2273 if (IS_ERR(fpu)) { in kvm_vcpu_ioctl()
2274 r = PTR_ERR(fpu); in kvm_vcpu_ioctl()
2275 fpu = NULL; in kvm_vcpu_ioctl()
2278 r = kvm_arch_vcpu_ioctl_set_fpu(vcpu, fpu); in kvm_vcpu_ioctl()
[all …]
/linux-4.1.27/arch/s390/kvm/
Dkvm-s390.c1604 int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) in kvm_arch_vcpu_ioctl_set_fpu() argument
1606 if (test_fp_ctl(fpu->fpc)) in kvm_arch_vcpu_ioctl_set_fpu()
1608 memcpy(&vcpu->arch.guest_fpregs.fprs, &fpu->fprs, sizeof(fpu->fprs)); in kvm_arch_vcpu_ioctl_set_fpu()
1609 vcpu->arch.guest_fpregs.fpc = fpu->fpc; in kvm_arch_vcpu_ioctl_set_fpu()
1615 int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) in kvm_arch_vcpu_ioctl_get_fpu() argument
1617 memcpy(&fpu->fprs, &vcpu->arch.guest_fpregs.fprs, sizeof(fpu->fprs)); in kvm_arch_vcpu_ioctl_get_fpu()
1618 fpu->fpc = vcpu->arch.guest_fpregs.fpc; in kvm_arch_vcpu_ioctl_get_fpu()
/linux-4.1.27/arch/m68k/fpsp040/
Dx_operr.S305 | frame on the stack and the fpu in the original exceptional state
346 | any state back to the fpu.
Dres_func.S632 | use fpu to perform dest+new_src (user's rmode and X)
642 | use fpu to perform dest+new_src (user's rmode and X)
695 beq fix_stk |restore to fpu
799 beq fix_stk |restore to fpu
824 | Check the signs of the operands. If they are unlike, the fpu
974 beq fix_stk |restore to fpu
999 | Check the signs of the operands. If they are alike, the fpu
1155 beq fix_stk |restore to fpu
Dbugfix.S263 | fpu.
386 | fpu.
Dkernel_ex.S5 | fpu for exceptional cases detected or reported within the
Dx_unfl.S152 | fpu is in WBTEMP; else it is in FPTEMP.
Dscale.S189 | to the fpu.
/linux-4.1.27/arch/mips/math-emu/
Dieee754.h145 #define ieee754_csr (*(struct _ieee754_csr *)(&current->thread.fpu.fcr31))
Dcp1emu.c712 if (get_fpr32(&current->thread.fpu.fpr[insn.i_format.rt], 0) & 0x1) in isBranchInstr()
716 if (!(get_fpr32(&current->thread.fpu.fpr[insn.i_format.rt], 0) & 0x1)) in isBranchInstr()
739 fcr31 = current->thread.fpu.fcr31; in isBranchInstr()
1194 if (get_fpr32(&current->thread.fpu.fpr[MIPSInst_RT(ir)], 0) & 0x1) in cop1Emulate()
1198 if (!(get_fpr32(&current->thread.fpu.fpr[MIPSInst_RT(ir)], 0) & 0x1)) in cop1Emulate()
/linux-4.1.27/arch/x86/mm/
Dmpx.c343 fpu_save_init(&tsk->thread.fpu); in task_get_bounds_dir()
344 bndcsr = get_xsave_addr(&tsk->thread.fpu.state->xsave, XSTATE_BNDCSR); in task_get_bounds_dir()
/linux-4.1.27/arch/avr32/kernel/
Dprocess.c272 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
/linux-4.1.27/arch/x86/crypto/
DMakefile81 aesni-intel-y := aesni-intel_asm.o aesni-intel_glue.o fpu.o
/linux-4.1.27/arch/x86/kvm/
Dx86.c6976 int kvm_arch_vcpu_ioctl_get_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) in kvm_arch_vcpu_ioctl_get_fpu() argument
6981 memcpy(fpu->fpr, fxsave->st_space, 128); in kvm_arch_vcpu_ioctl_get_fpu()
6982 fpu->fcw = fxsave->cwd; in kvm_arch_vcpu_ioctl_get_fpu()
6983 fpu->fsw = fxsave->swd; in kvm_arch_vcpu_ioctl_get_fpu()
6984 fpu->ftwx = fxsave->twd; in kvm_arch_vcpu_ioctl_get_fpu()
6985 fpu->last_opcode = fxsave->fop; in kvm_arch_vcpu_ioctl_get_fpu()
6986 fpu->last_ip = fxsave->rip; in kvm_arch_vcpu_ioctl_get_fpu()
6987 fpu->last_dp = fxsave->rdp; in kvm_arch_vcpu_ioctl_get_fpu()
6988 memcpy(fpu->xmm, fxsave->xmm_space, sizeof fxsave->xmm_space); in kvm_arch_vcpu_ioctl_get_fpu()
6993 int kvm_arch_vcpu_ioctl_set_fpu(struct kvm_vcpu *vcpu, struct kvm_fpu *fpu) in kvm_arch_vcpu_ioctl_set_fpu() argument
[all …]
/linux-4.1.27/arch/metag/kernel/
Dprocess.c361 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
/linux-4.1.27/arch/nios2/platform/
DKconfig.platform80 Enables the -mcustom-fpu-cfg=60-1 compiler flag.
/linux-4.1.27/arch/powerpc/kernel/
DMakefile145 extra-$(CONFIG_PPC_FPU) += fpu.o
/linux-4.1.27/arch/microblaze/boot/dts/
Dsystem.dts89 xlnx,fpu-exception = <0x1>;
124 xlnx,use-fpu = <0x2>;
/linux-4.1.27/Documentation/x86/i386/
DIO-APIC.txt24 13: 1 XT-PIC fpu
/linux-4.1.27/arch/blackfin/kernel/
Dsetup.c1272 char *cpu, *mmu, *fpu, *vendor, *cache; local
1281 fpu = "none";
/linux-4.1.27/arch/powerpc/
DMakefile220 head-$(CONFIG_PPC_FPU) += arch/powerpc/kernel/fpu.o
/linux-4.1.27/Documentation/cris/
DREADME152 fpu : no
/linux-4.1.27/arch/m68k/
DKconfig.cpu311 The fpu uses normally a few bit more during calculations for
/linux-4.1.27/Documentation/filesystems/
Dproc.txt614 13: 1 XT-PIC fpu
632 13: 0 0 XT-PIC fpu
/linux-4.1.27/Documentation/
Dkernel-parameters.txt941 on enable eager fpu restore
942 off disable eager fpu restore