[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 06/26] softfloat: Set QEMU_NO_HARDFLOAT for m68k
From: |
Richard Henderson |
Subject: |
[PATCH v3 06/26] softfloat: Set QEMU_NO_HARDFLOAT for m68k |
Date: |
Mon, 9 Sep 2024 10:28:03 -0700 |
Like ppc, m68k needs the complete set of exception flags for each
instruction, which means that float_flag_inexact will never be set
before each instruction. Thus the hardfloat path will not be used,
so we improve things by compiling it out.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
fpu/softfloat.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fpu/softfloat.c b/fpu/softfloat.c
index 027a8e576d..0e4ff874e4 100644
--- a/fpu/softfloat.c
+++ b/fpu/softfloat.c
@@ -220,7 +220,7 @@ GEN_INPUT_FLUSH3(float64_input_flush3, float64)
* the use of hardfloat, since hardfloat relies on the inexact flag being
* already set.
*/
-#if defined(TARGET_PPC) || defined(__FAST_MATH__)
+#if defined(TARGET_M68K) || defined(TARGET_PPC) || defined(__FAST_MATH__)
# if defined(__FAST_MATH__)
# warning disabling hardfloat due to -ffast-math: hardfloat requires an exact
\
IEEE implementation
--
2.43.0
- [PATCH v3 00/26] target/m68k: fpu improvements, Richard Henderson, 2024/09/09
- [PATCH v3 03/26] target/m68k: Restore fp rounding mode on vm load, Richard Henderson, 2024/09/09
- [PATCH v3 01/26] target/m68k: Always return a temporary from gen_lea_mode, Richard Henderson, 2024/09/09
- [PATCH v3 02/26] target/m68k: Add FPSR exception bit defines, Richard Henderson, 2024/09/09
- [PATCH v3 04/26] target/m68k: Keep FPSR up-to-date, Richard Henderson, 2024/09/09
- [PATCH v3 06/26] softfloat: Set QEMU_NO_HARDFLOAT for m68k,
Richard Henderson <=
- [PATCH v3 05/26] target/m68k: Update FPSR.EXC, Richard Henderson, 2024/09/09
- [PATCH v3 08/26] target/m68k: Introduce M68K_FEATURE_FPU_PACKED_DECIMAL, Richard Henderson, 2024/09/09
- [PATCH v3 11/26] target/m68k: Use OS_UNSIZED in LEA, PEA, JMP, Richard Henderson, 2024/09/09
- [PATCH v3 10/26] target/m68k: Use g_assert_not_reached in gen_lea_mode and gen_ea_mode, Richard Henderson, 2024/09/09
- [PATCH v3 12/26] target/m68k: Move pre-dec/post-inc to gen_lea_mode, Richard Henderson, 2024/09/09
- [PATCH v3 09/26] target/m68k: Merge gen_ea into SRC_EA and DEST_EA, Richard Henderson, 2024/09/09
- [PATCH v3 16/26] target/m68k: Remove env argument to gen_load_mode, Richard Henderson, 2024/09/09