mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
target/i386: Set default NaN pattern explicitly
Set the default NaN pattern explicitly, and remove the ifdef from parts64_default_nan(). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-id: 20241202131347.498124-38-peter.maydell@linaro.org
This commit is contained in:
parent
223f4f2e78
commit
f69da79196
2 changed files with 4 additions and 3 deletions
|
@ -139,9 +139,6 @@ static void parts64_default_nan(FloatParts64 *p, float_status *status)
|
|||
#if defined(TARGET_SPARC) || defined(TARGET_M68K)
|
||||
/* Sign bit clear, all frac bits set */
|
||||
dnan_pattern = 0b01111111;
|
||||
#elif defined(TARGET_I386) || defined(TARGET_X86_64)
|
||||
/* Sign bit set, most significant frac bit set */
|
||||
dnan_pattern = 0b11000000;
|
||||
#elif defined(TARGET_HPPA)
|
||||
/* Sign bit clear, msb-1 frac bit set */
|
||||
dnan_pattern = 0b00100000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue