Home
last modified time | relevance | path

Searched refs:rounding_mode (Results 1 – 6 of 6) sorted by relevance

/openbmc/qemu/linux-user/arm/nwfpe/
H A Dfpa11.c76 int rounding_mode; in SetRoundingMode() local
86 rounding_mode = float_round_nearest_even; in SetRoundingMode()
93 rounding_mode = float_round_up; in SetRoundingMode()
100 rounding_mode = float_round_down; in SetRoundingMode()
107 rounding_mode = float_round_to_zero; in SetRoundingMode()
113 set_float_rounding_mode(rounding_mode, &fpa11->fp_status); in SetRoundingMode()
/openbmc/qemu/target/xtensa/
H A Dfpu_helper.c69 static const int rounding_mode[] = { in HELPER() local
77 set_float_rounding_mode(rounding_mode[v & 3], &env->fp_status); in HELPER()
82 static const int rounding_mode[] = { in HELPER() local
94 set_float_rounding_mode(rounding_mode[v & 3], &env->fp_status); in HELPER()
266 uint32_t rounding_mode, uint32_t scale) in HELPER()
271 set_float_rounding_mode(rounding_mode, &fp_status); in HELPER()
279 uint32_t rounding_mode, uint32_t scale) in HELPER()
284 set_float_rounding_mode(rounding_mode, &fp_status); in HELPER()
292 uint32_t rounding_mode, uint32_t scale) in HELPER()
298 set_float_rounding_mode(rounding_mode, &fp_status); in HELPER()
[all …]
H A Dtranslate.c6400 TCGv_i32 rounding_mode = tcg_constant_i32(par[0]); in translate_ftoi_d() local
6405 rounding_mode, scale); in translate_ftoi_d()
6408 rounding_mode, scale); in translate_ftoi_d()
6415 TCGv_i32 rounding_mode = tcg_constant_i32(par[0]); in translate_ftoi_s() local
6422 rounding_mode, scale); in translate_ftoi_s()
6425 rounding_mode, scale); in translate_ftoi_s()
/openbmc/qemu/target/mips/
H A Dfpu_helper.h81 int rounding_mode = (env->active_tc.msacsr & MSACSR_RM_MASK) >> MSACSR_RM; in restore_msa_fp_status() local
84 set_float_rounding_mode(ieee_rm[rounding_mode], status); in restore_msa_fp_status()
/openbmc/qemu/target/m68k/
H A Dfpu_helper.c156 FloatRoundMode rounding_mode = get_float_rounding_mode(&env->fp_status); in HELPER() local
159 set_float_rounding_mode(rounding_mode, &env->fp_status); in HELPER()
379 FloatRoundMode rounding_mode = get_float_rounding_mode(&env->fp_status); in HELPER() local
386 set_float_rounding_mode(rounding_mode, &env->fp_status); in HELPER()
412 FloatRoundMode rounding_mode = get_float_rounding_mode(&env->fp_status); in HELPER() local
419 set_float_rounding_mode(rounding_mode, &env->fp_status); in HELPER()
/openbmc/qemu/target/ppc/
H A Dfpu_helper.c597 FloatRoundMode rounding_mode) in do_fri() argument
602 set_float_rounding_mode(rounding_mode, &env->fp_status); in do_fri()