| /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 …]
|
| H A D | vec_helper.c | 2489 set_float_rounding_mode(float_round_down, status); \ 2492 set_float_rounding_mode(old_mode, status); \ 2755 set_float_rounding_mode(MODE, &env->fp_status); \ 2757 set_float_rounding_mode(old_mode, &env->fp_status); \ 2777 set_float_rounding_mode(MODE, &env->fp_status); \ 2779 set_float_rounding_mode(old_mode, &env->fp_status); \
|
| /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 …]
|
| H A D | msa_helper.c | 7911 set_float_rounding_mode(float_round_down, status); \ 7914 set_float_rounding_mode(ieee_rm[(env->active_tc.msacsr & \
|
| /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/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 | 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()
|
| H A D | sme_helper.c | 1301 set_float_rounding_mode(float_round_to_odd, &fpst_odd); in do_fmopa_w_h() 1367 set_float_rounding_mode(float_round_to_odd, &fpst_odd); in HELPER() 1389 set_float_rounding_mode(float_round_to_odd, &fpst_odd); in HELPER() 1417 set_float_rounding_mode(float_round_to_odd, &fpst_odd); in HELPER()
|
| H A D | mve_helper.c | 3314 set_float_rounding_mode(rmode, base_fpst); \ 3328 set_float_rounding_mode(prev_rmode, base_fpst); \
|
| /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/sh4/ |
| 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/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 | int_helper.c | 728 set_float_rounding_mode(float_round_to_zero, &s); \ 1542 set_float_rounding_mode(rounding, &s); \
|
| /openbmc/qemu/target/hexagon/ |
| H A D | arch.c | 199 set_float_rounding_mode( in arch_fpop_start()
|
| /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()
|
| /openbmc/qemu/target/i386/tcg/ |
| H A D | fpu_helper.c | 769 set_float_rounding_mode(x86_round_mode[mode], status); in set_x86_rounding_mode()
|