]> git.proxmox.com Git - mirror_qemu.git/commit
target-hppa: Add softfloat specializations
authorRichard Henderson <rth@twiddle.net>
Thu, 15 Dec 2016 18:46:40 +0000 (10:46 -0800)
committerRichard Henderson <rth@twiddle.net>
Mon, 23 Jan 2017 17:52:40 +0000 (09:52 -0800)
commit005fa38d86257d471ac461c066a5409a9f5ebb02
treef8969620f61a858b105dd5616618faf99c6e4d64
parent7c248bcda1d1b3081b1bdb3a10352bb549dff2c5
target-hppa: Add softfloat specializations

Like the original MIPS, HPPA has the MSB of an SNaN set.
However, it has different rules for silencing an SNaN:
(1) msb is cleared and (2) msb-1 must be set if the fraction
is now zero, and (implementation defined) may be set always.
I haven't checked real hardware but chose the set always
alternative because it's easy and within spec.

Signed-off-by: Richard Henderson <rth@twiddle.net>
fpu/softfloat-specialize.h