Searched refs:fpcr (Results 1 - 25 of 51) sorted by last modified time

123

/linux-master/arch/alpha/kernel/
H A Dosf_sys.c782 * ops can be used (under OSF/1) to set the fpcr that should
824 unsigned long swcr, fpcr; local
841 /* Update the real fpcr. */
842 fpcr = rdfpcr() & FPCR_DYN_MASK;
843 fpcr |= ieee_swcr_to_fpcr(swcr);
844 wrfpcr(fpcr);
850 unsigned long exc, swcr, fpcr, fex; local
862 /* Update the real fpcr. */
863 fpcr = rdfpcr();
864 fpcr |
[all...]
H A Dentry.S701 mf_fpcr $f0 # get fpcr
703 stt $f0, FR(31) # save fpcr in slot of $f31
715 ldt $f30, FR(31) # get saved fpcr
717 mt_fpcr $f30 # install saved fpcr
H A Dptrace.c132 /* Special hack for fpcr -- combine hardware and software bits. */
134 unsigned long fpcr = *get_reg_addr(task, regno); local
137 swcr = swcr_update_status(swcr, fpcr);
138 return fpcr | swcr;
/linux-master/arch/powerpc/platforms/cell/spufs/
H A Dfile.c528 return spufs_dump_emit(cprm, &ctx->csa.lscsa->fpcr,
529 sizeof(ctx->csa.lscsa->fpcr));
542 ret = simple_read_from_buffer(buffer, size, pos, &ctx->csa.lscsa->fpcr,
543 sizeof(ctx->csa.lscsa->fpcr));
556 if (*pos >= sizeof(lscsa->fpcr))
563 size = simple_write_to_buffer(&lscsa->fpcr, sizeof(lscsa->fpcr), pos,
2543 { "fpcr", &spufs_fpcr_fops, 0666, sizeof(struct spu_reg128), },
2601 { "fpcr", spufs_fpcr_dump, NULL, sizeof(struct spu_reg128) },
H A Dspu_save.c69 // vector unsigned int fpcr;
76 offset = LSCSA_QW_OFFSET(fpcr);
H A Dspu_restore.c118 vector unsigned int fpcr; local
124 offset = LSCSA_QW_OFFSET(fpcr);
125 fpcr = regs_spill[offset].v;
126 spu_mtfpscr(fpcr);
/linux-master/arch/m68k/kernel/
H A Dentry.S380 fmoveml %fpcr/%fpsr/%fpiar,%a0@(TASK_THREAD+THREAD_FPCNTL)
412 fmoveml %a1@(TASK_THREAD+THREAD_FPCNTL),%fpcr/%fpsr/%fpiar
/linux-master/arch/alpha/math-emu/
H A Dmath.c105 unsigned long res, va, vb, vc, swcr, fpcr; local
117 fpcr = rdfpcr();
118 swcr = swcr_update_status(current_thread_info()->ieee_state, fpcr);
121 /* Dynamic -- get rounding mode from fpcr. */
122 mode = (fpcr >> FPCR_DYN_SHIFT) & 3;
305 fpcr &= (~FPCR_MASK | FPCR_DYN_MASK);
306 fpcr |= ieee_swcr_to_fpcr(swcr);
307 wrfpcr(fpcr);
/linux-master/arch/arm64/kernel/
H A Dptrace.c846 * Copy fpsr, and fpcr which must follow contiguously in
996 * Copy fpsr, and fpcr which must follow contiguously in
1488 * fpcr are 32-bits wide.
1753 (uregs->fpcr & VFP_FPSCR_CTRL_MASK);
1780 uregs->fpcr = fpscr & VFP_FPSCR_CTRL_MASK;
H A Dsignal.c199 __put_user_error(fpsimd->fpcr, &ctx->fpcr, err);
221 __get_user_error(fpsimd.fpcr, &(user->fpsimd->fpcr), err);
385 __get_user_error(fpsimd.fpcr, &user->fpsimd->fpcr, err);
H A Dsignal32.c125 /* Create an AArch32 fpscr from the fpsr and the fpcr. */
127 (fpsimd->fpcr & VFP_FPSCR_CTRL_MASK);
167 /* Extract the fpsr and the fpcr from the fpscr */
170 fpsimd.fpcr = fpscr & VFP_FPSCR_CTRL_MASK;
/linux-master/arch/arm64/kvm/
H A Dguest.c99 case KVM_REG_ARM_CORE_REG(fp_regs.fpcr):
178 case KVM_REG_ARM_CORE_REG(fp_regs.fpcr):
179 return &vcpu->arch.ctxt.fp_regs.fpcr;
/linux-master/arch/arm64/include/uapi/asm/
H A Dsigcontext.h80 __u32 fpcr; member in struct:fpsimd_context
H A Dptrace.h98 __u32 fpcr; member in struct:user_fpsimd_state
/linux-master/arch/arm64/include/asm/
H A Dfpsimdmacros.h30 mrs x\tmpnr, fpcr
36 * Writes to fpcr may be self-synchronising, so avoid restoring
39 mrs \tmp, fpcr
42 msr fpcr, \state
319 mrs x\nxtmp, fpcr
334 msr fpcr, x\nxtmp variable
/linux-master/arch/m68k/fpsp040/
H A Dslogn.S417 fmovel %d1,%fpcr
466 fmovel %d1,%fpcr
491 fmovel %d1,%fpcr
582 fmovel %d1,%fpcr
588 fmovel %d1,%fpcr
/linux-master/tools/testing/selftests/kvm/aarch64/
H A Dget-reg-list.c141 case KVM_REG_ARM_CORE_REG(fp_regs.fpcr):
142 return "KVM_REG_ARM_CORE_REG(fp_regs.fpcr)";
315 KVM_REG_ARM64 | KVM_REG_SIZE_U32 | KVM_REG_ARM_CORE | KVM_REG_ARM_CORE_REG(fp_regs.fpcr),
/linux-master/drivers/soc/apple/
H A Drtkit-crashlog.c54 u64 fpcr; member in struct:apple_rtkit_crashlog_regs
/linux-master/arch/alpha/include/asm/
H A Dfpu.h73 swcr_update_status(unsigned long swcr, unsigned long fpcr) argument
76 the acrued exception bits from the real fpcr. */
79 swcr |= (fpcr >> 35) & IEEE_STATUS_MASK;
/linux-master/tools/testing/selftests/arm64/fp/
H A Dsve-ptrace.c497 &fpsimd_state.fpcr, &errors);
598 check_u32(vl, "FPCR", &write_fpsimd.fpcr,
/linux-master/arch/arm/include/asm/
H A Duser.h45 unsigned int fpcr:32; member in struct:user_fp
/linux-master/arch/powerpc/include/asm/
H A Dspu_csa.h57 * @fpcr: Saved floating point status control register.
73 struct spu_reg128 fpcr; member in struct:spu_lscsa
/linux-master/arch/arm/nwfpe/
H A Dfpa11.h70 /* 100 */ FPCR fpcr; /* floating point control register */ member in struct:tagFPA11
/linux-master/arch/m68k/include/asm/
H A Dmath-emu.h98 unsigned int fpcr; member in struct:fp_data
/linux-master/arch/m68k/ifpsp060/src/
H A Dfpsp.S646 fmovm.l %fpcr,%fpsr,%fpiar,USER_FPCR(%a6) # save ctrl regs
705 fmov.l &0x0,%fpcr # zero current control regs
732 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
747 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
766 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
791 fmov.l &0x0,%fpcr # zero current control regs
805 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
886 fmovm.l %fpcr,%fpsr,%fpiar,USER_FPCR(%a6) # save ctrl regs
948 fmov.l &0x0,%fpcr # zero current control regs
982 fmovm.l USER_FPCR(%a6),%fpcr,
[all...]

Completed in 311 milliseconds

123