| /openbmc/qemu/target/loongarch/tcg/ |
| H A D | fpu_helper.c | 30 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 D | helper.c | 105 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 D | fpu_helper.h | 18 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 D | fpu_helper.c | 123 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 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/mips/tcg/ |
| H A D | fpu_helper.c | 411 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 D | fpu_helper.c | 425 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 D | softfloat-helpers.h | 61 static inline void set_float_rounding_mode(FloatRoundMode val, in set_float_rounding_mode() function
|
| /openbmc/qemu/target/sh4/ |
| H A D | cpu.c | 145 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 D | op_helper.c | 208 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 D | fpa11.c | 118 set_float_rounding_mode(rounding_mode, &fpa11->fp_status); in SetRoundingMode()
|
| /openbmc/qemu/target/arm/tcg/ |
| H A D | vfp_helper.c | 195 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 D | helper-a64.c | 364 set_float_rounding_mode(float_round_to_odd, fpst); in HELPER() 366 set_float_rounding_mode(old, fpst); in HELPER()
|
| H A D | vec_helper.c | 2760 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 D | fp-test-log2.c | 75 set_float_rounding_mode(float_round_nearest_even, &qsf); in main()
|
| /openbmc/qemu/target/openrisc/ |
| H A D | fpu_helper.c | 82 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 | 238 set_float_rounding_mode(rnd_type, &env->fp_status); in fpscr_set_rounding_mode()
|
| H A D | fpu_helper.c | 600 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 D | arch.c | 199 set_float_rounding_mode( in arch_fpop_start()
|
| /openbmc/qemu/target/microblaze/ |
| H A D | cpu.c | 218 set_float_rounding_mode(float_round_nearest_even, &env->fp_status); in mb_cpu_reset_hold()
|
| /openbmc/qemu/target/rx/ |
| H A D | op_helper.c | 136 set_float_rounding_mode(roundmode[FIELD_EX32(env->fpsw, FPSW, RM)], in helper_set_fpsw()
|
| /openbmc/qemu/target/riscv/ |
| H A D | fpu_helper.c | 80 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 D | fpu_helper.c | 30 set_float_rounding_mode(val, &FP_STATUS); in helper_setroundmode()
|
| /openbmc/qemu/target/hppa/ |
| H A D | fpu_helper.c | 46 set_float_rounding_mode(rm, &env->fp_status); in HELPER()
|
| /openbmc/qemu/target/sparc/ |
| H A D | fop_helper.c | 588 set_float_rounding_mode(rnd_mode, &env->fp_status); in set_fsr_nonsplit()
|