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.c58 int rounding_mode; in SetRoundingMode() local
68 rounding_mode = float_round_nearest_even; in SetRoundingMode()
75 rounding_mode = float_round_up; in SetRoundingMode()
82 rounding_mode = float_round_down; in SetRoundingMode()
89 rounding_mode = float_round_to_zero; in SetRoundingMode()
95 set_float_rounding_mode(rounding_mode, &fpa11->fp_status); in SetRoundingMode()
/qemu/target/xtensa/
H A Dfpu_helper.c62 static const int rounding_mode[] = { in HELPER() local
70 set_float_rounding_mode(rounding_mode[v & 3], &env->fp_status); in HELPER()
75 static const int rounding_mode[] = { in HELPER() local
259 uint32_t rounding_mode, uint32_t scale) in HELPER()
264 set_float_rounding_mode(rounding_mode, &fp_status); in HELPER()
272 uint32_t rounding_mode, uint32_t scale) in HELPER()
277 set_float_rounding_mode(rounding_mode, &fp_status); in HELPER()
285 uint32_t rounding_mode, uint32_t scale) in HELPER()
291 set_float_rounding_mode(rounding_mode, &fp_status); in HELPER()
307 uint32_t rounding_mode, uint32_t scale) 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()
/qemu/target/mips/
H A Dfpu_helper.h59 int rounding_mode = (env->active_tc.msacsr & MSACSR_RM_MASK) >> MSACSR_RM; in restore_msa_fp_status() local
62 set_float_rounding_mode(ieee_rm[rounding_mode], status); in restore_msa_fp_status()
/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()
/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()