target/alpha: Remove CONFIG_SOFTFLOAT_INLINE
Don't peek into float_status internals. Fix the helper calls that were missing an argument. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Richard Henderson committed
May 1, 2026 at 12:54 UTC
853ff22693e2777a3ffb77ea77962e1e150a8573
1 file changed
+2
-16
target/alpha/translate.c
+2
-16
@@ -34,7 +34,6 @@
34
#undef HELPER_H
35
36
#undef ALPHA_DEBUG_DISAS
37
-#define CONFIG_SOFTFLOAT_INLINE
37
38
#ifdef ALPHA_DEBUG_DISAS
39
# define LOG_DISAS(...) qemu_log_mask(CPU_LOG_TB_IN_ASM, ## __VA_ARGS__)
@@ -578,15 +577,7 @@ static void gen_qual_roundmode(DisasContext *ctx, int fn11)
577
break;
578
}
579
581
-#if defined(CONFIG_SOFTFLOAT_INLINE)
582
- /* ??? The "fpu/softfloat.h" interface is to call set_float_rounding_mode.
583
- With CONFIG_SOFTFLOAT that expands to an out-of-line call that just
584
- sets the one field. */
585
- tcg_gen_st8_i32(tmp, tcg_env,
586
- offsetof(CPUAlphaState, fp_status.float_rounding_mode));
587
-#else
588
- gen_helper_setroundmode(tmp);
589
-#endif
580
+ gen_helper_setroundmode(tcg_env, tmp);
581
}
582
583
static void gen_qual_flushzero(DisasContext *ctx, int fn11)
@@ -609,12 +600,7 @@ static void gen_qual_flushzero(DisasContext *ctx, int fn11)
600
tcg_gen_movi_i32(tmp, 1);
601
}
602
612
-#if defined(CONFIG_SOFTFLOAT_INLINE)
613
- tcg_gen_st8_i32(tmp, tcg_env,
614
- offsetof(CPUAlphaState, fp_status.flush_to_zero));
615
-#else
616
- gen_helper_setflushzero(tmp);
617
-#endif
603
+ gen_helper_setflushzero(tcg_env, tmp);
604
}
605
606
static TCGv_i64 gen_ieee_input(DisasContext *ctx, int reg, int fn11, int is_cmp)