/openbmc/linux/arch/arm/nwfpe/ |
H A D | fpmodule.c | 133 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 D | fpa11.inl | 28 return (fpa11->fpsr); 35 fpa11->fpsr = (fpa11->fpsr & MASK_SYSID) | (reg & ~MASK_SYSID);
|
H A D | fpa11.c | 32 fpa11->fpsr = FP_EMULATOR | BIT_AC; in resetFPA11()
|
H A D | fpa11.h | 69 /* 96 */ FPSR fpsr; /* floating point status register */ member
|
/openbmc/qemu/target/hppa/ |
H A D | helper.c | 187 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 D | ftest.S | 241 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 D | fplsp.S | 566 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 D | pfpsp.S | 948 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 D | fpsp.S | 949 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 D | fp_emu.h | 53 FPDATA->fpsr |= 1 << (bit); \ 57 FPDATA->fpsr &= 0xff00ffff; \ 58 FPDATA->fpsr |= ((quotient) & 0xff) << 16; \
|
/openbmc/qemu/linux-user/arm/nwfpe/ |
H A D | fpa11.inl | 27 return(fpa11->fpsr); 34 fpa11->fpsr = (fpa11->fpsr & MASK_SYSID) | (reg & ~MASK_SYSID);
|
H A D | fpa11.h | 73 /* 96 */ FPSR fpsr; /* floating point status register */ member
|
/openbmc/linux/arch/m68k/fpsp040/ |
H A D | x_unfl.S | 50 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 D | x_snan.S | 47 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 D | x_operr.S | 314 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 D | fpu_helper.c | 217 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 D | cpu.c | 112 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 D | fpsimdmacros.h | 28 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 D | signal.c | 63 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 D | math-emu.h | 28 #define FPSR_QUOTIENT(fpsr) (*((signed char *) &(fpsr) + 1)) argument 99 unsigned int fpsr; member
|
/openbmc/qemu/target/arm/ |
H A D | vfp_helper.c | 167 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 D | entry.h | 34 .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 D | user.h | 44 unsigned int fpsr:32; member
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | signal.c | 195 __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 D | translate-m-nocp.c | 344 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()
|