mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
target/m68k: Set default NaN pattern explicitly
Set the default NaN pattern explicitly for m68k. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20241202131347.498124-43-peter.maydell@linaro.org
This commit is contained in:
parent
7d582aa7cc
commit
34f73db53d
2 changed files with 3 additions and 1 deletions
|
@ -136,7 +136,7 @@ static void parts64_default_nan(FloatParts64 *p, float_status *status)
|
|||
uint8_t dnan_pattern = status->default_nan_pattern;
|
||||
|
||||
if (dnan_pattern == 0) {
|
||||
#if defined(TARGET_SPARC) || defined(TARGET_M68K)
|
||||
#if defined(TARGET_SPARC)
|
||||
/* Sign bit clear, all frac bits set */
|
||||
dnan_pattern = 0b01111111;
|
||||
#elif defined(TARGET_HEXAGON)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue