Possible long double bug fix (Problem Report sparc64/55773)

Stephen Paskaluk stephen.paskaluk at gmail.com
Thu Dec 23 06:45:45 PST 2004


On Thu, 23 Dec 2004 05:03:11 -0600, R. Tyler Ballance <tyler at tamu.edu> wrote:
> sap@ (of the MirOS project) has come up with a patch to fix this bug,
> which in my rudimentary testing on my Ultra2 seems to prove that it
> works.
> The .diff file can be found here:
> http://dero.tamu.edu/~tyler/code/freebsd/fpu_qp.diff

It's based partly on the OpenBSD version of the same code.  As a
general thought on the sparc64 fpu code, I don't see why there's a
need for the _QP_TTOQ macro at all, it only saves manually writing a
handful of functions.  It's true that you don't have to change each
function in the event of a change to the overall routine, but I don't
think that's much of an issue with this code.

-- 
Stephen Paskaluk


More information about the freebsd-sparc64 mailing list