diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2011-01-06 15:38:19 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2011-01-06 16:29:17 +0100 |
commit | 93ae1c6fea6433bca732c907d7c3ee9be4f8a2ab (patch) | |
tree | 863cf98e15ae32df999aad885365c01ef965a712 /qemu-barrier.h | |
parent | d735d695e7b547272412f63433e023496c4d36ed (diff) |
softfloat: fix float{32,64}_maybe_silence_nan() for MIPS
On targets that define sNaN with the sNaN bit as one, simply clearing
this bit may correspond to an infinite value.
Convert it to a default NaN if SNAN_BIT_IS_ONE, as it corresponds to
the MIPS implementation, the only emulated CPU with SNAN_BIT_IS_ONE.
When other CPU of this type are added, this might be updated to include
more cases.
Acked-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'qemu-barrier.h')
0 files changed, 0 insertions, 0 deletions