]> Git Repo - qemu.git/commit
target/i386: fix fscale handling of signaling NaN
authorJoseph Myers <[email protected]>
Thu, 7 May 2020 00:44:14 +0000 (00:44 +0000)
committerPaolo Bonzini <[email protected]>
Wed, 10 Jun 2020 16:10:17 +0000 (12:10 -0400)
commit0d48b436327955c69e2eb53f88aba9aa1e0dbaa0
tree213a5ebda7167b9e886062d49a02a7d593d72bb3
parentc415f2c58296d86e9abb7e4a133111acf7031da3
target/i386: fix fscale handling of signaling NaN

The implementation of the fscale instruction returns a NaN exponent
unchanged.  Fix it to return a quiet NaN when the provided exponent is
a signaling NaN.

Signed-off-by: Joseph Myers <[email protected]>
Message-Id: <alpine.DEB.2.21.2005070043330[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
target/i386/fpu_helper.c
tests/tcg/i386/test-i386-fscale.c [new file with mode: 0644]
This page took 0.025423 seconds and 4 git commands to generate.