NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-powerpc/55425 (openssl fails on FPU emulation for powerpc)

The following reply was made to PR port-powerpc/55425; it has been noted by GNATS.

From: Rin Okuyama <>
To: Taylor R Campbell <>,
 "" <>
Subject: Re: port-powerpc/55425 (openssl fails on FPU emulation for powerpc)
Date: Tue, 7 Jul 2020 12:04:15 +0900

 On 2020/07/07 11:57, Taylor R Campbell wrote:
 >> Date: Tue,  7 Jul 2020 01:51:35 +0000 (UTC)
 >> From:
 >> It is best to fix FPU emulation in kernel. However, I doubt whether we
 >> could implement FPU emulation, in practice, at a level where calculation
 >> results are same as real hardware in bit-to-bit precision.
 > Why do you doubt this?  We already do this for many platforms with
 > sys/lib/libkern/softfloat.c, don't we?  Is it broken on powerpc, or
 > does powerpc do something different, or what?
 For FPU emulation on powerpc, sys/lib/libkern/softfloat.c is not used.
 Instead, we use its own codes in sys/arch/powerpc/fpu.
 Well, it may be better to switch to sys/lib/libkern/softfloat.c, rather
 than fixing codes in sys/arch/powerpc/fpu. However, it is still a not
 trivial work anyway...

Home | Main Index | Thread Index | Old Index