[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 07/11] target/rx: Use FloatRoundMode in helper_set_fpsw
From: |
Richard Henderson |
Subject: |
[PATCH 07/11] target/rx: Use FloatRoundMode in helper_set_fpsw |
Date: |
Wed, 26 May 2021 21:14:01 -0700 |
Use the proper type for the roundmode array.
Cc: Philippe Mathieu-Daudé <f4bug@amsat.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/rx/op_helper.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/rx/op_helper.c b/target/rx/op_helper.c
index 2139def3b2..b1772e9538 100644
--- a/target/rx/op_helper.c
+++ b/target/rx/op_helper.c
@@ -120,7 +120,7 @@ static void update_fpsw(CPURXState *env, float32 ret,
uintptr_t retaddr)
void helper_set_fpsw(CPURXState *env, uint32_t val)
{
- static const int roundmode[] = {
+ static const FloatRoundMode roundmode[] = {
float_round_nearest_even,
float_round_to_zero,
float_round_up,
--
2.25.1
- [PATCH 00/11] softfloat: Improve denormal handling, Richard Henderson, 2021/05/27
- [PATCH 03/11] softfloat: Introduce float_flag_inorm_denormal, Richard Henderson, 2021/05/27
- [PATCH 01/11] softfloat: Rename float_flag_input_denormal to float_flag_iflush_denormal, Richard Henderson, 2021/05/27
- [PATCH 07/11] target/rx: Use FloatRoundMode in helper_set_fpsw,
Richard Henderson <=
- [PATCH 02/11] softfloat: Rename float_flag_output_denormal to float_flag_oflush_denormal, Richard Henderson, 2021/05/27
- [PATCH 06/11] target/rx: Handle the FPSW.DN bit in helper_set_fpsw, Richard Henderson, 2021/05/27
- [PATCH 08/11] target/rx: Fix setting of FPSW.CE, Richard Henderson, 2021/05/27
- [PATCH 09/11] target/mips: Drop inline markers from msa_helper.c, Richard Henderson, 2021/05/27
- [PATCH 10/11] target/mips: Do not check MSACSR_FS_MASK in update_msacsr, Richard Henderson, 2021/05/27