Home
last modified time | relevance | path

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

/qemu/linux-user/arm/nwfpe/
H A Dfpa11.c81 int rounding_mode; in SetRoundingMode() local
91 rounding_mode = float_round_nearest_even; in SetRoundingMode()
98 rounding_mode = float_round_up; in SetRoundingMode()
105 rounding_mode = float_round_down; in SetRoundingMode()
112 rounding_mode = float_round_to_zero; in SetRoundingMode()
118 set_float_rounding_mode(rounding_mode, &fpa11->fp_status); in SetRoundingMode()
/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.c6399 TCGv_i32 rounding_mode = tcg_constant_i32(par[0]); in translate_ftoi_d() local
6404 rounding_mode, scale); in translate_ftoi_d()
6407 rounding_mode, scale); in translate_ftoi_d()
6414 TCGv_i32 rounding_mode = tcg_constant_i32(par[0]); in translate_ftoi_s() local
6421 rounding_mode, scale); in translate_ftoi_s()
6424 rounding_mode, scale); in translate_ftoi_s()
/qemu/target/mips/
H A Dfpu_helper.h107 int rounding_mode = (env->active_tc.msacsr & MSACSR_RM_MASK) >> MSACSR_RM; in restore_msa_fp_status() local
110 set_float_rounding_mode(ieee_rm[rounding_mode], status); in restore_msa_fp_status()
/qemu/target/m68k/
H A Dfpu_helper.c155 FloatRoundMode rounding_mode = get_float_rounding_mode(&env->fp_status); in HELPER() local
158 set_float_rounding_mode(rounding_mode, &env->fp_status); in HELPER()
378 FloatRoundMode rounding_mode = get_float_rounding_mode(&env->fp_status); in HELPER() local
385 set_float_rounding_mode(rounding_mode, &env->fp_status); in HELPER()
411 FloatRoundMode rounding_mode = get_float_rounding_mode(&env->fp_status); in HELPER() local
418 set_float_rounding_mode(rounding_mode, &env->fp_status); in HELPER()
/qemu/target/ppc/
H A Dfpu_helper.c595 FloatRoundMode rounding_mode) in do_fri() argument
600 set_float_rounding_mode(rounding_mode, &env->fp_status); in do_fri()