Home
last modified time | relevance | path

Searched refs:fpsr (Results 1 – 25 of 74) sorted by relevance

123

/openbmc/linux/arch/arm/nwfpe/
H A Dfpmodule.c133 register unsigned int fpsr, cumulativeTraps; in float_raise() local
144 fpsr = readFPSR(); in float_raise()
149 if ((!(fpsr & BIT_IXE)) && (flags & BIT_IXC)) in float_raise()
151 if ((!(fpsr & BIT_UFE)) && (flags & BIT_UFC)) in float_raise()
153 if ((!(fpsr & BIT_OFE)) && (flags & BIT_OFC)) in float_raise()
155 if ((!(fpsr & BIT_DZE)) && (flags & BIT_DZC)) in float_raise()
157 if ((!(fpsr & BIT_IOE)) && (flags & BIT_IOC)) in float_raise()
162 writeFPSR(fpsr | cumulativeTraps); in float_raise()
165 if (fpsr & (flags << 16)) in float_raise()
H A Dfpa11.inl28 return (fpa11->fpsr);
35 fpa11->fpsr = (fpa11->fpsr & MASK_SYSID) | (reg & ~MASK_SYSID);
H A Dfpa11.c32 fpa11->fpsr = FP_EMULATOR | BIT_AC; in resetFPA11()
H A Dfpa11.h69 /* 96 */ FPSR fpsr; /* floating point status register */ member
/openbmc/qemu/target/hppa/
H A Dhelper.c187 uint32_t fpsr = env->fr0_shadow; in hppa_cpu_dump_state() local
189 flg[0] = (fpsr & R_FPSR_FLG_V_MASK ? 'V' : '-'); in hppa_cpu_dump_state()
190 flg[1] = (fpsr & R_FPSR_FLG_Z_MASK ? 'Z' : '-'); in hppa_cpu_dump_state()
191 flg[2] = (fpsr & R_FPSR_FLG_O_MASK ? 'O' : '-'); in hppa_cpu_dump_state()
192 flg[3] = (fpsr & R_FPSR_FLG_U_MASK ? 'U' : '-'); in hppa_cpu_dump_state()
193 flg[4] = (fpsr & R_FPSR_FLG_I_MASK ? 'I' : '-'); in hppa_cpu_dump_state()
196 ena[0] = (fpsr & R_FPSR_ENA_V_MASK ? 'V' : '-'); in hppa_cpu_dump_state()
197 ena[1] = (fpsr & R_FPSR_ENA_Z_MASK ? 'Z' : '-'); in hppa_cpu_dump_state()
198 ena[2] = (fpsr & R_FPSR_ENA_O_MASK ? 'O' : '-'); in hppa_cpu_dump_state()
199 ena[3] = (fpsr & R_FPSR_ENA_U_MASK ? 'U' : '-'); in hppa_cpu_dump_state()
[all …]
/openbmc/linux/arch/m68k/ifpsp060/src/
H A Dftest.S241 fmovm.l DEF_FPCREGS(%pc),%fpcr,%fpsr,%fpiar
246 fmovm.l %fpcr,%fpsr,%fpiar,IFPCREGS(%a6)
259 fmovm.l %fpcr,%fpsr,%fpiar,SFPCREGS(%a6)
281 fmovm.l DEF_FPCREGS(%pc),%fpcr,%fpsr,%fpiar
286 fmovm.l %fpcr,%fpsr,%fpiar,IFPCREGS(%a6)
299 fmovm.l %fpcr,%fpsr,%fpiar,SFPCREGS(%a6)
322 fmovm.l DEF_FPCREGS(%pc),%fpcr,%fpsr,%fpiar
327 fmovm.l %fpcr,%fpsr,%fpiar,IFPCREGS(%a6)
336 fmovm.l %fpcr,%fpsr,%fpiar,SFPCREGS(%a6)
359 fmovm.l DEF_FPCREGS(%pc),%fpcr,%fpsr,%fpiar
[all …]
H A Dfplsp.S566 fmovm.l %fpcr,%fpsr,USER_FPCR(%a6) # save ctrl regs
613 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr # restore ctrl regs
623 fmovm.l %fpcr,%fpsr,USER_FPCR(%a6) # save ctrl regs
671 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr # restore ctrl regs
681 fmovm.l %fpcr,%fpsr,USER_FPCR(%a6) # save ctrl regs
729 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr # restore ctrl regs
743 fmovm.l %fpcr,%fpsr,USER_FPCR(%a6) # save ctrl regs
790 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr # restore ctrl regs
800 fmovm.l %fpcr,%fpsr,USER_FPCR(%a6) # save ctrl regs
848 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr # restore ctrl regs
[all …]
H A Dpfpsp.S948 fmov.l &0x0,%fpsr
981 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
1338 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
1405 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
1512 fmov.l &0x0,%fpsr
1570 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
1677 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
1692 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
1709 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
1762 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
[all …]
H A Dfpsp.S949 fmov.l &0x0,%fpsr
982 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
1339 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
1406 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
1513 fmov.l &0x0,%fpsr
1571 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
1678 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
1693 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
1710 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
1763 fmovm.l USER_FPCR(%a6),%fpcr,%fpsr,%fpiar # restore ctrl regs
[all …]
/openbmc/linux/arch/m68k/math-emu/
H A Dfp_emu.h53 FPDATA->fpsr |= 1 << (bit); \
57 FPDATA->fpsr &= 0xff00ffff; \
58 FPDATA->fpsr |= ((quotient) & 0xff) << 16; \
/openbmc/qemu/linux-user/arm/nwfpe/
H A Dfpa11.inl27 return(fpa11->fpsr);
34 fpa11->fpsr = (fpa11->fpsr & MASK_SYSID) | (reg & ~MASK_SYSID);
H A Dfpa11.h73 /* 96 */ FPSR fpsr; /* floating point status register */ member
/openbmc/linux/arch/m68k/fpsp040/
H A Dx_unfl.S50 fmoveml %fpcr/%fpsr/%fpiar,USER_FPCR(%a6)
75 fmoveml USER_FPCR(%a6),%fpcr/%fpsr/%fpiar
110 fmoveml USER_FPCR(%a6),%fpcr/%fpsr/%fpiar
129 fmoveml USER_FPCR(%a6),%fpcr/%fpsr/%fpiar
136 fmoveml USER_FPCR(%a6),%fpcr/%fpsr/%fpiar
H A Dx_snan.S47 fmoveml %fpcr/%fpsr/%fpiar,USER_FPCR(%a6)
74 fmoveml USER_FPCR(%a6),%fpcr/%fpsr/%fpiar
107 fmoveml USER_FPCR(%a6),%fpcr/%fpsr/%fpiar
135 fmoveml USER_FPCR(%a6),%fpcr/%fpsr/%fpiar
H A Dx_operr.S314 fmoveml USER_FPCR(%a6),%fpcr/%fpsr/%fpiar
340 fmoveml USER_FPCR(%a6),%fpcr/%fpsr/%fpiar
351 fmoveml USER_FPCR(%a6),%fpcr/%fpsr/%fpiar
/openbmc/qemu/target/m68k/
H A Dfpu_helper.c217 int except = (env->fpsr & ~(0xf8)) | target_flags; in cpu_m68k_get_fpsr()
228 env->fpsr = val; in cpu_m68k_set_fpsr()
230 int host_flags = cpu_m68k_exceptbits_to_host((int) env->fpsr); in cpu_m68k_set_fpsr()
445 env->fpsr = (env->fpsr & ~FPSR_CC_MASK) | float_comp_to_cc(float_compare); in HELPER()
463 env->fpsr = (env->fpsr & ~FPSR_CC_MASK) | cc; in HELPER()
593 env->fpsr = (env->fpsr & ~FPSR_QT_MASK) | (quotient << FPSR_QT_SHIFT); in make_quotient()
H A Dcpu.c112 env->fpsr = 0; in m68k_cpu_reset_hold()
413 s->env.fpsr = cpu_m68k_get_fpsr(&s->env); in fpu_pre_save()
421 cpu_m68k_set_fpsr(&s->env, s->env.fpsr); in fpu_post_load()
434 VMSTATE_UINT32(env.fpsr, M68kCPU),
/openbmc/linux/arch/arm64/include/asm/
H A Dfpsimdmacros.h28 mrs x\tmpnr, fpsr
65 msr fpsr, x\tmpnr
325 mrs x\nxtmp, fpsr
340 msr fpsr, x\nxtmp
/openbmc/qemu/linux-user/aarch64/
H A Dsignal.c63 uint32_t fpsr; member
165 __put_user(vfp_get_fpsr(env), &fpsimd->fpsr); in target_setup_fpsimd_record()
279 uint32_t fpsr, fpcr; in target_restore_fpsimd_record() local
282 __get_user(fpsr, &fpsimd->fpsr); in target_restore_fpsimd_record()
283 vfp_set_fpsr(env, fpsr); in target_restore_fpsimd_record()
/openbmc/linux/arch/m68k/include/asm/
H A Dmath-emu.h28 #define FPSR_QUOTIENT(fpsr) (*((signed char *) &(fpsr) + 1)) argument
99 unsigned int fpsr; member
/openbmc/qemu/target/arm/
H A Dvfp_helper.c167 uint32_t fpsr = env->vfp.fpsr; in vfp_get_fpsr() local
170 fpsr |= vfp_get_fpsr_from_host(env); in vfp_get_fpsr()
173 fpsr |= i ? FPSR_QC : 0; in vfp_get_fpsr()
174 return fpsr; in vfp_get_fpsr()
215 env->vfp.fpsr = val; in vfp_set_fpsr()
351 env->vfp.fpsr = deposit64(env->vfp.fpsr, 28, 4, flags); /* NZCV */ in softfloat_to_vfp_compare()
1154 env->vfp.fpsr = (env->vfp.fpsr & ~FPSR_NZCV_MASK) | (z * FPSR_Z); in HELPER()
/openbmc/linux/arch/ia64/kernel/
H A Dentry.h34 .spillsp ar.fpsr, PT(AR_FPSR)+16+(off); \
44 .savesp ar.fpsr,SW(AR_FPSR)+16+(off); \
/openbmc/linux/arch/arm/include/asm/
H A Duser.h44 unsigned int fpsr:32; member
/openbmc/linux/arch/arm64/kernel/
H A Dsignal.c195 __put_user_error(fpsimd->fpsr, &ctx->fpsr, err); in preserve_fpsimd_context()
217 __get_user_error(fpsimd.fpsr, &(user->fpsimd->fpsr), err); in restore_fpsimd_context()
354 __get_user_error(fpsimd.fpsr, &user->fpsimd->fpsr, err); in restore_sve_fpsimd_context()
/openbmc/qemu/target/arm/tcg/
H A Dtranslate-m-nocp.c344 fpscr = load_cpu_field_low32(vfp.fpsr); in gen_M_fp_sysreg_write()
347 store_cpu_field_low32(fpscr, vfp.fpsr); in gen_M_fp_sysreg_write()
468 tmp = load_cpu_field_low32(vfp.fpsr); in gen_M_fp_sysreg_read()

123