/linux-4.1.27/arch/x86/include/asm/ |
D | fpu-internal.h | 89 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 …]
|
D | i387.h | 22 extern void fpu_finit(struct fpu *fpu); 101 return current->thread.fpu.has_fpu; in user_has_fpu()
|
D | xsave.h | 191 static inline void fpu_xsave(struct fpu *fpu) in fpu_xsave() argument 193 xsave_state(&fpu->state->xsave, -1); in fpu_xsave()
|
D | processor.h | 432 struct fpu { struct 522 struct fpu fpu; member
|
D | kvm_host.h | 403 struct fpu guest_fpu;
|
/linux-4.1.27/arch/mips/kernel/ |
D | asm-offsets.c | 123 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 …]
|
D | ptrace32.c | 128 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()
|
D | ptrace.c | 57 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 …]
|
D | kgdb.c | 146 memcpy((void *)¤t->thread.fpu.fcr31, mem, in dbg_set_reg() 154 memcpy((void *)¤t->thread.fpu.fpr[fp_reg], mem, in dbg_set_reg() 181 memcpy(mem, (void *)¤t->thread.fpu.fcr31, in dbg_get_reg() 190 memcpy(mem, (void *)¤t->thread.fpu.fpr[fp_reg], in dbg_get_reg()
|
D | traps.c | 799 sig = fpu_emulator_cop1Handler(regs, ¤t->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, ¤t->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, ¤t->thread.fpu, 0, in do_cpu() 1418 fcr31 = current->thread.fpu.fcr31; in do_cpu() [all …]
|
D | signal.c | 75 __put_user(get_fpr64(¤t->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(¤t->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()
|
D | signal32.c | 89 __put_user(get_fpr64(¤t->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(¤t->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()
|
D | branch.c | 152 fcr31 = current->thread.fpu.fcr31; in __mm_isBranchInstr() 695 if (get_fpr32(¤t->thread.fpu.fpr[reg], 0) in __compute_return_epc_for_insn() 701 if (!(get_fpr32(¤t->thread.fpu.fpr[reg], 0) in __compute_return_epc_for_insn() 721 fcr31 = current->thread.fpu.fcr31; in __compute_return_epc_for_insn()
|
D | mips-r2-to-r6-emul.c | 202 csr = current->thread.fpu.fcr31; in movf_func() 225 csr = current->thread.fpu.fcr31; in movt_func() 1171 err = fpu_emulator_cop1Handler(regs, ¤t->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()
|
D | unaligned.c | 1194 res = fpu_emulator_cop1Handler(regs, ¤t->thread.fpu, 1, in emulate_load_store_insn() 1629 res = fpu_emulator_cop1Handler(regs, ¤t->thread.fpu, 1, in emulate_load_store_microMIPS()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | sigutil_64.c | 14 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 …]
|
D | sigutil_32.c | 14 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(¤t->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 …]
|
D | sigutil.h | 4 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);
|
D | cpu.c | 282 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()
|
D | entry.S | 1068 st %fsr, [%o1] ! this can trap on us if fpu is in bogon state
|
/linux-4.1.27/arch/m68k/kernel/ |
D | process.c | 207 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 …]
|
D | setup_mm.c | 407 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()
|
D | setup_no.c | 271 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/ |
D | Makefile | 6 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) \
|
D | fpu-low.S | 159 # - save the fpu state
|
/linux-4.1.27/arch/x86/kernel/ |
D | i387.c | 236 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 …]
|
D | xsave.c | 45 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 = ¤t->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()
|
D | process.c | 91 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()
|
D | process_32.c | 248 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()
|
D | process_64.c | 281 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()
|
D | traps.c | 399 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/ |
D | elfcore.h | 42 …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()
|
D | kvm_host.h | 627 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/ |
D | fp_movem.S | 74 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
|
D | fp_scan.S | 64 | normal fpu instruction? (this excludes fsave/frestore) 92 fp_fgen_fp: | source is a fpu register
|
/linux-4.1.27/arch/mips/kvm/ |
D | mips.c | 534 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 …]
|
D | Makefile | 12 dyntrans.o trap_emul.o fpu.o
|
/linux-4.1.27/arch/sh/math-emu/ |
D | math.c | 477 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/ |
D | fpu.c | 35 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()
|
D | Makefile | 24 obj-$(CONFIG_ARC_FPU_SAVE_RESTORE) += fpu.o
|
D | process.c | 191 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
|
/linux-4.1.27/arch/m32r/kernel/ |
D | ptrace.c | 113 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()
|
D | process.c | 126 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
|
/linux-4.1.27/arch/mips/include/asm/ |
D | fpu.h | 173 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()
|
D | processor.h | 260 struct mips_fpu_struct fpu FPU_ALIGN; 318 .fpu = { \
|
D | fpu_emulator.h | 92 set_fpr64(&t->thread.fpu.fpr[i], 0, SIGNALLING_NAN); in fpu_emulator_init_fpu()
|
D | elf.h | 307 current->thread.fpu.fcr31 = boot_cpu_data.fpu_csr31; \ 369 current->thread.fpu.fcr31 = boot_cpu_data.fpu_csr31; \
|
D | kvm_host.h | 390 struct mips_fpu_struct fpu; member
|
/linux-4.1.27/arch/x86/um/asm/ |
D | elf.h | 207 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/ |
D | Makefile | 27 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/ |
D | setup.c | 79 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/ |
D | ptrace_32.c | 388 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()
|
D | ptrace_64.c | 403 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()
|
D | process_32.c | 105 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument 116 fpu, NULL); in dump_fpu()
|
D | process_64.c | 345 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/ |
D | fpu.c | 150 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()
|
D | Makefile | 9 obj-$(CONFIG_SH_FPU) += fpu.o softfloat.o
|
/linux-4.1.27/arch/cris/kernel/ |
D | process.c | 76 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
|
/linux-4.1.27/arch/sh/kernel/cpu/sh5/ |
D | Makefile | 6 obj-$(CONFIG_SH_FPU) += fpu.o
|
/linux-4.1.27/arch/sh/kernel/cpu/sh2a/ |
D | fpu.c | 380 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()
|
D | Makefile | 9 obj-$(CONFIG_SH_FPU) += fpu.o
|
/linux-4.1.27/arch/m68k/ifpsp060/ |
D | MISC | 35 hdr.fpu : 2.4 105 hdr.fpu : 2.4 150 hdr.fpu : 2.4
|
D | fpsp.doc | 234 (unimplemented (fpu disabled) (possible F-line illegal) 243 | | fpu disabled? exit through
|
D | fskeleton.S | 233 move.l %d0,-(%sp) | enabled the fpu
|
/linux-4.1.27/arch/powerpc/kvm/ |
D | Makefile | 50 fpu.o \ 104 fpu.o \
|
D | book3s.c | 521 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
|
D | booke.c | 1750 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/ |
D | Makefile | 21 obj-y += irq/ init.o clock.o fpu.o pfc.o proc.o
|
D | init.c | 55 onchip_setup(fpu);
|
/linux-4.1.27/arch/nios2/ |
D | Makefile | 29 KBUILD_CFLAGS += $(if $(CONFIG_NIOS2_FPU_SUPPORT),-mcustom-fpu-cfg=60-1,)
|
/linux-4.1.27/arch/sh/include/asm/ |
D | user.h | 46 struct user_fpu_struct fpu; /* Math Co-processor registers */ member
|
/linux-4.1.27/arch/mips/loongson/loongson-3/ |
D | cop2-ex.c | 46 _init_fpu(current->thread.fpu.fcr31); in loongson_cu2_call()
|
/linux-4.1.27/fs/ |
D | binfmt_elf_fdpic.c | 1410 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()
|
D | binfmt_elf.c | 1846 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/ |
D | guest.c | 278 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/ |
D | Makefile | 12 obj-$(CONFIG_UNICORE_FPU_F64) += fpu-ucf64.o
|
D | entry.S | 415 cff r1, s31 @ get fpu FPSCR
|
/linux-4.1.27/arch/mips/dec/ |
D | int-handler.S | 143 bnez t2,fpu # handle FPU immediately 269 fpu: label
|
/linux-4.1.27/arch/arm64/kvm/ |
D | guest.c | 319 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/ |
D | processor.h | 39 struct arc_fpu fpu; member
|
/linux-4.1.27/arch/um/kernel/ |
D | process.c | 399 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/ |
D | elf.h | 103 #define ELF_CORE_COPY_FPREGS(t, fpu) 0 argument
|
/linux-4.1.27/arch/hexagon/kernel/ |
D | process.c | 184 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
|
/linux-4.1.27/arch/alpha/include/uapi/asm/ |
D | Kbuild | 12 header-y += fpu.h
|
/linux-4.1.27/arch/ia64/include/uapi/asm/ |
D | Kbuild | 13 header-y += fpu.h
|
/linux-4.1.27/arch/openrisc/kernel/ |
D | process.c | 208 int dump_fpu(struct pt_regs *regs, elf_fpregset_t * fpu) in dump_fpu() argument
|
/linux-4.1.27/arch/arm/crypto/ |
D | ghash-ce-core.S | 36 .fpu crypto-neon-fp-armv8
|
D | sha2-ce-core.S | 16 .fpu crypto-neon-fp-armv8
|
D | Makefile | 18 ifeq ($(call as-instr,.fpu crypto-neon-fp-armv8,y,n),y)
|
D | sha1-ce-core.S | 16 .fpu crypto-neon-fp-armv8
|
D | sha512-armv7-neon.S | 16 .fpu neon
|
D | aes-ce-core.S | 15 .fpu crypto-neon-fp-armv8
|
D | sha1-armv7-neon.S | 16 .fpu neon
|
D | aesbs-core.S_shipped | 71 .fpu neon
|
D | sha256-core.S_shipped | 1870 .fpu neon
|
/linux-4.1.27/arch/x86/math-emu/ |
D | fpu_system.h | 49 #define I387 (current->thread.fpu.state)
|
D | fpu_aux.c | 55 finit_soft_fpu(¤t->thread.fpu.state->soft); in finit()
|
D | fpu_entry.c | 684 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/ |
D | kvm_main.c | 2094 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/ |
D | kvm-s390.c | 1604 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/ |
D | x_operr.S | 305 | frame on the stack and the fpu in the original exceptional state 346 | any state back to the fpu.
|
D | res_func.S | 632 | 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
|
D | bugfix.S | 263 | fpu. 386 | fpu.
|
D | kernel_ex.S | 5 | fpu for exceptional cases detected or reported within the
|
D | x_unfl.S | 152 | fpu is in WBTEMP; else it is in FPTEMP.
|
D | scale.S | 189 | to the fpu.
|
/linux-4.1.27/arch/mips/math-emu/ |
D | ieee754.h | 145 #define ieee754_csr (*(struct _ieee754_csr *)(¤t->thread.fpu.fcr31))
|
D | cp1emu.c | 712 if (get_fpr32(¤t->thread.fpu.fpr[insn.i_format.rt], 0) & 0x1) in isBranchInstr() 716 if (!(get_fpr32(¤t->thread.fpu.fpr[insn.i_format.rt], 0) & 0x1)) in isBranchInstr() 739 fcr31 = current->thread.fpu.fcr31; in isBranchInstr() 1194 if (get_fpr32(¤t->thread.fpu.fpr[MIPSInst_RT(ir)], 0) & 0x1) in cop1Emulate() 1198 if (!(get_fpr32(¤t->thread.fpu.fpr[MIPSInst_RT(ir)], 0) & 0x1)) in cop1Emulate()
|
/linux-4.1.27/arch/x86/mm/ |
D | mpx.c | 343 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/ |
D | process.c | 272 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
|
/linux-4.1.27/arch/x86/crypto/ |
D | Makefile | 81 aesni-intel-y := aesni-intel_asm.o aesni-intel_glue.o fpu.o
|
/linux-4.1.27/arch/x86/kvm/ |
D | x86.c | 6976 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/ |
D | process.c | 361 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
|
/linux-4.1.27/arch/nios2/platform/ |
D | Kconfig.platform | 80 Enables the -mcustom-fpu-cfg=60-1 compiler flag.
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | Makefile | 145 extra-$(CONFIG_PPC_FPU) += fpu.o
|
/linux-4.1.27/arch/microblaze/boot/dts/ |
D | system.dts | 89 xlnx,fpu-exception = <0x1>; 124 xlnx,use-fpu = <0x2>;
|
/linux-4.1.27/Documentation/x86/i386/ |
D | IO-APIC.txt | 24 13: 1 XT-PIC fpu
|
/linux-4.1.27/arch/blackfin/kernel/ |
D | setup.c | 1272 char *cpu, *mmu, *fpu, *vendor, *cache; local 1281 fpu = "none";
|
/linux-4.1.27/arch/powerpc/ |
D | Makefile | 220 head-$(CONFIG_PPC_FPU) += arch/powerpc/kernel/fpu.o
|
/linux-4.1.27/Documentation/cris/ |
D | README | 152 fpu : no
|
/linux-4.1.27/arch/m68k/ |
D | Kconfig.cpu | 311 The fpu uses normally a few bit more during calculations for
|
/linux-4.1.27/Documentation/filesystems/ |
D | proc.txt | 614 13: 1 XT-PIC fpu 632 13: 0 0 XT-PIC fpu
|
/linux-4.1.27/Documentation/ |
D | kernel-parameters.txt | 941 on enable eager fpu restore 942 off disable eager fpu restore
|