mirror of
https://github.com/mborgerson/xemu.git
synced 2026-02-04 19:05:41 +00:00
target/microblaze: Explicitly set 2-NaN propagation rule
Set the NaN propagation rule explicitly for the float_status word used in the microblaze target. This is probably not the architecturally correct behaviour, but since this is a no-behaviour-change patch, we leave a TODO note to that effect. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20241025141254.2141506-19-peter.maydell@linaro.org
This commit is contained in:
@ -406,7 +406,8 @@ static int pickNaN(FloatClass a_cls, FloatClass b_cls,
|
||||
|| defined(TARGET_LOONGARCH64) || defined(TARGET_HPPA) \
|
||||
|| defined(TARGET_S390X) || defined(TARGET_PPC) || defined(TARGET_M68K) \
|
||||
|| defined(TARGET_SPARC) || defined(TARGET_XTENSA) \
|
||||
|| defined(TARGET_I386) || defined(TARGET_ALPHA)
|
||||
|| defined(TARGET_I386) || defined(TARGET_ALPHA) \
|
||||
|| defined(TARGET_MICROBLAZE)
|
||||
g_assert_not_reached();
|
||||
#else
|
||||
rule = float_2nan_prop_x87;
|
||||
|
||||
Reference in New Issue
Block a user