/openbmc/qemu/target/loongarch/tcg/ |
H A D | fpu_helper.c | 31 set_float_rounding_mode(ieee_rm[(env->fcsr0 >> FCSR0_RM) & 0x3], in restore_fp_status() 322 set_float_rounding_mode(float_round_down, status); in helper_flogb_s() 325 set_float_rounding_mode(old_mode, status); in helper_flogb_s() 336 set_float_rounding_mode(float_round_down, status); in helper_flogb_d() 339 set_float_rounding_mode(old_mode, status); in helper_flogb_d() 541 set_float_rounding_mode(float_round_down, &env->fp_status); in helper_ftintrm_l_d() 543 set_float_rounding_mode(old_mode, &env->fp_status); in helper_ftintrm_l_d() 559 set_float_rounding_mode(float_round_down, &env->fp_status); in helper_ftintrm_l_s() 561 set_float_rounding_mode(old_mode, &env->fp_status); in helper_ftintrm_l_s() 577 set_float_rounding_mode(float_round_down, &env->fp_status); in helper_ftintrm_w_d() [all …]
|
/openbmc/qemu/target/tricore/ |
H A D | helper.c | 103 set_float_rounding_mode(float_round_nearest_even, &env->fp_status); in fpu_set_state() 106 set_float_rounding_mode(float_round_up, &env->fp_status); in fpu_set_state() 109 set_float_rounding_mode(float_round_down, &env->fp_status); in fpu_set_state() 112 set_float_rounding_mode(float_round_to_zero, &env->fp_status); in fpu_set_state()
|
/openbmc/qemu/target/m68k/ |
H A D | fpu_helper.c | 124 set_float_rounding_mode(float_round_nearest_even, &env->fp_status); in restore_rounding_mode() 127 set_float_rounding_mode(float_round_to_zero, &env->fp_status); in restore_rounding_mode() 130 set_float_rounding_mode(float_round_down, &env->fp_status); in restore_rounding_mode() 133 set_float_rounding_mode(float_round_up, &env->fp_status); in restore_rounding_mode() 157 set_float_rounding_mode(float_round_to_zero, &env->fp_status); in HELPER() 159 set_float_rounding_mode(rounding_mode, &env->fp_status); in HELPER() 383 set_float_rounding_mode(float_round_to_zero, &env->fp_status); in HELPER() 386 set_float_rounding_mode(rounding_mode, &env->fp_status); in HELPER() 416 set_float_rounding_mode(float_round_to_zero, &env->fp_status); in HELPER() 419 set_float_rounding_mode(rounding_mode, &env->fp_status); in HELPER() [all …]
|
/openbmc/qemu/target/mips/ |
H A D | fpu_helper.h | 18 set_float_rounding_mode(ieee_rm[env->active_fpu.fcr31 & 3], in restore_rounding_mode() 84 set_float_rounding_mode(ieee_rm[rounding_mode], status); in restore_msa_fp_status()
|
/openbmc/qemu/target/mips/tcg/ |
H A D | fpu_helper.c | 412 set_float_rounding_mode(float_round_nearest_even, in helper_float_round_l_d() 428 set_float_rounding_mode(float_round_nearest_even, in helper_float_round_l_s() 444 set_float_rounding_mode(float_round_nearest_even, in helper_float_round_w_d() 460 set_float_rounding_mode(float_round_nearest_even, in helper_float_round_w_s() 529 set_float_rounding_mode(float_round_up, &env->active_fpu.fp_status); in helper_float_ceil_l_d() 544 set_float_rounding_mode(float_round_up, &env->active_fpu.fp_status); in helper_float_ceil_l_s() 559 set_float_rounding_mode(float_round_up, &env->active_fpu.fp_status); in helper_float_ceil_w_d() 574 set_float_rounding_mode(float_round_up, &env->active_fpu.fp_status); in helper_float_ceil_w_s() 589 set_float_rounding_mode(float_round_down, &env->active_fpu.fp_status); in helper_float_floor_l_d() 604 set_float_rounding_mode(float_round_down, &env->active_fpu.fp_status); in helper_float_floor_l_s() [all …]
|
/openbmc/qemu/target/xtensa/ |
H A D | fpu_helper.c | 77 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/s390x/tcg/ |
H A D | fpu_helper.c | 426 set_float_rounding_mode(float_round_ties_away, &env->fpu_status); in s390_swap_bfp_rounding_mode() 430 set_float_rounding_mode(float_round_to_odd, &env->fpu_status); in s390_swap_bfp_rounding_mode() 434 set_float_rounding_mode(float_round_nearest_even, &env->fpu_status); in s390_swap_bfp_rounding_mode() 438 set_float_rounding_mode(float_round_to_zero, &env->fpu_status); in s390_swap_bfp_rounding_mode() 442 set_float_rounding_mode(float_round_up, &env->fpu_status); in s390_swap_bfp_rounding_mode() 446 set_float_rounding_mode(float_round_down, &env->fpu_status); in s390_swap_bfp_rounding_mode() 456 set_float_rounding_mode(old_mode, &env->fpu_status); in s390_restore_bfp_rounding_mode() 912 set_float_rounding_mode(fpc_to_rnd[fpc & 0x7], &env->fpu_status); in HELPER() 931 set_float_rounding_mode(fpc_to_rnd[fpc & 0x7], &env->fpu_status); in HELPER() 964 set_float_rounding_mode(fpc_to_rnd[rnd & 0x7], &env->fpu_status); in HELPER()
|
/openbmc/qemu/target/sh4/ |
H A D | cpu.c | 121 set_float_rounding_mode(float_round_nearest_even, &env->fp_status); /* ?! */ in superh_cpu_reset_hold() 126 set_float_rounding_mode(float_round_to_zero, &env->fp_status); in superh_cpu_reset_hold()
|
H A D | op_helper.c | 209 set_float_rounding_mode(float_round_to_zero, &env->fp_status); in helper_ld_fpscr() 211 set_float_rounding_mode(float_round_nearest_even, &env->fp_status); in helper_ld_fpscr()
|
/openbmc/qemu/include/fpu/ |
H A D | softfloat-helpers.h | 61 static inline void set_float_rounding_mode(FloatRoundMode val, in set_float_rounding_mode() function
|
/openbmc/qemu/linux-user/arm/nwfpe/ |
H A D | fpa11.c | 113 set_float_rounding_mode(rounding_mode, &fpa11->fp_status); in SetRoundingMode()
|
/openbmc/qemu/tests/fp/ |
H A D | fp-test-log2.c | 74 set_float_rounding_mode(float_round_nearest_even, &qsf); in main()
|
/openbmc/qemu/target/openrisc/ |
H A D | fpu_helper.c | 83 set_float_rounding_mode(rm_to_sf[extract32(val, 1, 2)], &env->fp_status); in cpu_set_fpcsr()
|
/openbmc/qemu/target/ppc/ |
H A D | cpu.c | 218 set_float_rounding_mode(rnd_type, &env->fp_status); in fpscr_set_rounding_mode()
|
H A D | fpu_helper.c | 602 set_float_rounding_mode(rounding_mode, &env->fp_status); in do_fri() 604 set_float_rounding_mode(old_rounding_mode, &env->fp_status); in do_fri() 3041 set_float_rounding_mode(rmode, &env->fp_status); \ 3063 set_float_rounding_mode(curr_rounding_mode, &env->fp_status); \ 3232 set_float_rounding_mode(rmode, &tstat); in helper_xsrqpi() 3286 set_float_rounding_mode(rmode, &tstat); in helper_xsrqpxp()
|
/openbmc/qemu/target/hexagon/ |
H A D | arch.c | 199 set_float_rounding_mode( in arch_fpop_start()
|
H A D | op_helper.c | 1234 set_float_rounding_mode(float_round_nearest_even, &env->fp_status); in HELPER() 1267 set_float_rounding_mode(float_round_nearest_even, &env->fp_status); in HELPER()
|
/openbmc/qemu/target/arm/ |
H A D | vfp_helper.c | 111 set_float_rounding_mode(i, &env->vfp.fp_status); in vfp_set_fpcr_to_host() 112 set_float_rounding_mode(i, &env->vfp.fp_status_f16); in vfp_set_fpcr_to_host() 512 set_float_rounding_mode(rmode, fp_status); in HELPER()
|
/openbmc/qemu/target/microblaze/ |
H A D | cpu.c | 204 set_float_rounding_mode(float_round_nearest_even, &env->fp_status); in mb_cpu_reset_hold()
|
/openbmc/qemu/target/riscv/ |
H A D | fpu_helper.c | 81 set_float_rounding_mode(softrm, &env->fp_status); in helper_set_rounding_mode() 118 set_float_rounding_mode(softrm, &env->fp_status); in helper_set_rounding_mode_chkfrm()
|
/openbmc/qemu/target/rx/ |
H A D | op_helper.c | 137 set_float_rounding_mode(roundmode[FIELD_EX32(env->fpsw, FPSW, RM)], in helper_set_fpsw()
|
/openbmc/qemu/target/alpha/ |
H A D | fpu_helper.c | 31 set_float_rounding_mode(val, &FP_STATUS); in helper_setroundmode()
|
/openbmc/qemu/target/hppa/ |
H A D | fpu_helper.c | 47 set_float_rounding_mode(rm, &env->fp_status); in HELPER()
|
/openbmc/qemu/target/arm/tcg/ |
H A D | vec_helper.c | 2527 set_float_rounding_mode(rmode, fpst); \ 2531 set_float_rounding_mode(prev_rmode, fpst); \ 2550 set_float_rounding_mode(rmode, fpst); \ 2554 set_float_rounding_mode(prev_rmode, fpst); \ 2828 set_float_rounding_mode(get_float_rounding_mode(fpst), statusp); in DO_MMLA_B() 2832 set_float_rounding_mode(float_round_to_odd, oddstatusp); in DO_MMLA_B()
|
/openbmc/qemu/target/sparc/ |
H A D | fop_helper.c | 590 set_float_rounding_mode(rnd_mode, &env->fp_status); in set_fsr_nonsplit()
|