Home
last modified time | relevance | path

Searched refs:set_float_rounding_mode (Results 1 – 25 of 33) sorted by relevance

12

/openbmc/qemu/target/loongarch/tcg/
H A Dfpu_helper.c30 set_float_rounding_mode(ieee_rm[(env->fcsr0 >> FCSR0_RM) & 0x3], in restore_fp_status()
329 set_float_rounding_mode(float_round_down, status); in helper_flogb_s()
332 set_float_rounding_mode(old_mode, status); in helper_flogb_s()
343 set_float_rounding_mode(float_round_down, status); in helper_flogb_d()
346 set_float_rounding_mode(old_mode, status); in helper_flogb_d()
546 set_float_rounding_mode(float_round_down, &env->fp_status); in helper_ftintrm_l_d()
548 set_float_rounding_mode(old_mode, &env->fp_status); in helper_ftintrm_l_d()
564 set_float_rounding_mode(float_round_down, &env->fp_status); in helper_ftintrm_l_s()
566 set_float_rounding_mode(old_mode, &env->fp_status); in helper_ftintrm_l_s()
582 set_float_rounding_mode(float_round_down, &env->fp_status); in helper_ftintrm_w_d()
[all …]
/openbmc/qemu/target/tricore/
H A Dhelper.c105 set_float_rounding_mode(float_round_nearest_even, &env->fp_status); in fpu_set_state()
108 set_float_rounding_mode(float_round_up, &env->fp_status); in fpu_set_state()
111 set_float_rounding_mode(float_round_down, &env->fp_status); in fpu_set_state()
114 set_float_rounding_mode(float_round_to_zero, &env->fp_status); in fpu_set_state()
/openbmc/qemu/target/mips/
H A Dfpu_helper.h18 set_float_rounding_mode(ieee_rm[env->active_fpu.fcr31 & 3], in restore_rounding_mode()
110 set_float_rounding_mode(ieee_rm[rounding_mode], status); in restore_msa_fp_status()
/openbmc/qemu/target/m68k/
H A Dfpu_helper.c123 set_float_rounding_mode(float_round_nearest_even, &env->fp_status); in restore_rounding_mode()
126 set_float_rounding_mode(float_round_to_zero, &env->fp_status); in restore_rounding_mode()
129 set_float_rounding_mode(float_round_down, &env->fp_status); in restore_rounding_mode()
132 set_float_rounding_mode(float_round_up, &env->fp_status); in restore_rounding_mode()
156 set_float_rounding_mode(float_round_to_zero, &env->fp_status); in HELPER()
158 set_float_rounding_mode(rounding_mode, &env->fp_status); in HELPER()
382 set_float_rounding_mode(float_round_to_zero, &env->fp_status); in HELPER()
385 set_float_rounding_mode(rounding_mode, &env->fp_status); in HELPER()
415 set_float_rounding_mode(float_round_to_zero, &env->fp_status); in HELPER()
418 set_float_rounding_mode(rounding_mode, &env->fp_status); in HELPER()
[all …]
/openbmc/qemu/target/xtensa/
H A Dfpu_helper.c77 set_float_rounding_mode(rounding_mode[v & 3], &env->fp_status); in HELPER()
94 set_float_rounding_mode(rounding_mode[v & 3], &env->fp_status); in HELPER()
271 set_float_rounding_mode(rounding_mode, &fp_status); in HELPER()
284 set_float_rounding_mode(rounding_mode, &fp_status); in HELPER()
298 set_float_rounding_mode(rounding_mode, &fp_status); in HELPER()
320 set_float_rounding_mode(rounding_mode, &fp_status); in HELPER()
/openbmc/qemu/target/mips/tcg/
H A Dfpu_helper.c411 set_float_rounding_mode(float_round_nearest_even, in helper_float_round_l_d()
427 set_float_rounding_mode(float_round_nearest_even, in helper_float_round_l_s()
443 set_float_rounding_mode(float_round_nearest_even, in helper_float_round_w_d()
459 set_float_rounding_mode(float_round_nearest_even, in helper_float_round_w_s()
528 set_float_rounding_mode(float_round_up, &env->active_fpu.fp_status); in helper_float_ceil_l_d()
543 set_float_rounding_mode(float_round_up, &env->active_fpu.fp_status); in helper_float_ceil_l_s()
558 set_float_rounding_mode(float_round_up, &env->active_fpu.fp_status); in helper_float_ceil_w_d()
573 set_float_rounding_mode(float_round_up, &env->active_fpu.fp_status); in helper_float_ceil_w_s()
588 set_float_rounding_mode(float_round_down, &env->active_fpu.fp_status); in helper_float_floor_l_d()
603 set_float_rounding_mode(float_round_down, &env->active_fpu.fp_status); in helper_float_floor_l_s()
[all …]
/openbmc/qemu/target/s390x/tcg/
H A Dfpu_helper.c425 set_float_rounding_mode(float_round_ties_away, &env->fpu_status); in s390_swap_bfp_rounding_mode()
429 set_float_rounding_mode(float_round_to_odd, &env->fpu_status); in s390_swap_bfp_rounding_mode()
433 set_float_rounding_mode(float_round_nearest_even, &env->fpu_status); in s390_swap_bfp_rounding_mode()
437 set_float_rounding_mode(float_round_to_zero, &env->fpu_status); in s390_swap_bfp_rounding_mode()
441 set_float_rounding_mode(float_round_up, &env->fpu_status); in s390_swap_bfp_rounding_mode()
445 set_float_rounding_mode(float_round_down, &env->fpu_status); in s390_swap_bfp_rounding_mode()
455 set_float_rounding_mode(old_mode, &env->fpu_status); in s390_restore_bfp_rounding_mode()
911 set_float_rounding_mode(fpc_to_rnd[fpc & 0x7], &env->fpu_status); in HELPER()
930 set_float_rounding_mode(fpc_to_rnd[fpc & 0x7], &env->fpu_status); in HELPER()
963 set_float_rounding_mode(fpc_to_rnd[rnd & 0x7], &env->fpu_status); in HELPER()
/openbmc/qemu/include/fpu/
H A Dsoftfloat-helpers.h61 static inline void set_float_rounding_mode(FloatRoundMode val, in set_float_rounding_mode() function
/openbmc/qemu/target/sh4/
H A Dcpu.c145 set_float_rounding_mode(float_round_nearest_even, &env->fp_status); /* ?! */ in superh_cpu_reset_hold()
150 set_float_rounding_mode(float_round_to_zero, &env->fp_status); in superh_cpu_reset_hold()
H A Dop_helper.c208 set_float_rounding_mode(float_round_to_zero, &env->fp_status); in helper_ld_fpscr()
210 set_float_rounding_mode(float_round_nearest_even, &env->fp_status); in helper_ld_fpscr()
/openbmc/qemu/linux-user/arm/nwfpe/
H A Dfpa11.c118 set_float_rounding_mode(rounding_mode, &fpa11->fp_status); in SetRoundingMode()
/openbmc/qemu/target/arm/tcg/
H A Dvfp_helper.c195 set_float_rounding_mode(i, &env->vfp.fp_status[FPST_A32]); in vfp_set_fpcr_to_host()
196 set_float_rounding_mode(i, &env->vfp.fp_status[FPST_A64]); in vfp_set_fpcr_to_host()
197 set_float_rounding_mode(i, &env->vfp.fp_status[FPST_A32_F16]); in vfp_set_fpcr_to_host()
198 set_float_rounding_mode(i, &env->vfp.fp_status[FPST_A64_F16]); in vfp_set_fpcr_to_host()
199 set_float_rounding_mode(i, &env->vfp.fp_status[FPST_ZA]); in vfp_set_fpcr_to_host()
200 set_float_rounding_mode(i, &env->vfp.fp_status[FPST_ZA_F16]); in vfp_set_fpcr_to_host()
493 set_float_rounding_mode(rmode, fp_status); in HELPER()
H A Dhelper-a64.c364 set_float_rounding_mode(float_round_to_odd, fpst); in HELPER()
366 set_float_rounding_mode(old, fpst); in HELPER()
H A Dvec_helper.c2760 set_float_rounding_mode(rmode, fpst); \
2764 set_float_rounding_mode(prev_rmode, fpst); \
2784 set_float_rounding_mode(rmode, fpst); \
2788 set_float_rounding_mode(prev_rmode, fpst); \
3056 set_float_rounding_mode(float_round_to_odd, oddstatusp); in DO_MMLA_B()
3060 set_float_rounding_mode(float_round_to_odd_inf, statusp); in DO_MMLA_B()
/openbmc/qemu/tests/fp/
H A Dfp-test-log2.c75 set_float_rounding_mode(float_round_nearest_even, &qsf); in main()
/openbmc/qemu/target/openrisc/
H A Dfpu_helper.c82 set_float_rounding_mode(rm_to_sf[extract32(val, 1, 2)], &env->fp_status); in cpu_set_fpcsr()
/openbmc/qemu/target/ppc/
H A Dcpu.c238 set_float_rounding_mode(rnd_type, &env->fp_status); in fpscr_set_rounding_mode()
H A Dfpu_helper.c600 set_float_rounding_mode(rounding_mode, &env->fp_status); in do_fri()
602 set_float_rounding_mode(old_rounding_mode, &env->fp_status); in do_fri()
3039 set_float_rounding_mode(rmode, &env->fp_status); \
3061 set_float_rounding_mode(curr_rounding_mode, &env->fp_status); \
3230 set_float_rounding_mode(rmode, &tstat); in helper_xsrqpi()
3284 set_float_rounding_mode(rmode, &tstat); in helper_xsrqpxp()
/openbmc/qemu/target/hexagon/
H A Darch.c199 set_float_rounding_mode( in arch_fpop_start()
/openbmc/qemu/target/microblaze/
H A Dcpu.c218 set_float_rounding_mode(float_round_nearest_even, &env->fp_status); in mb_cpu_reset_hold()
/openbmc/qemu/target/rx/
H A Dop_helper.c136 set_float_rounding_mode(roundmode[FIELD_EX32(env->fpsw, FPSW, RM)], in helper_set_fpsw()
/openbmc/qemu/target/riscv/
H A Dfpu_helper.c80 set_float_rounding_mode(softrm, &env->fp_status); in helper_set_rounding_mode()
117 set_float_rounding_mode(softrm, &env->fp_status); in helper_set_rounding_mode_chkfrm()
/openbmc/qemu/target/alpha/
H A Dfpu_helper.c30 set_float_rounding_mode(val, &FP_STATUS); in helper_setroundmode()
/openbmc/qemu/target/hppa/
H A Dfpu_helper.c46 set_float_rounding_mode(rm, &env->fp_status); in HELPER()
/openbmc/qemu/target/sparc/
H A Dfop_helper.c588 set_float_rounding_mode(rnd_mode, &env->fp_status); in set_fsr_nonsplit()

12