long double broken on i386?

David Schultz das at FreeBSD.ORG
Tue Oct 2 14:15:08 PDT 2007


On Tue, Oct 02, 2007, Steve Kargl wrote:
> There are a few problems: 1) I don't have commit access.  2) I
> need to do style(9) clean-up pass.  3) I've only tested these
> on i386 and amd64, and I know these fail for sparc64. 4) Most
> importantly, I don't know how the project wants to handle the
> 53 vs 64 bit default fpu setting on i386.
> 
> PS: There is also the minor possibility of giving bde either
> a heartache or death via laughter when he finally sees what I
> have done. :)

I have some other stuff in my tree that I need to commit at some
point, so I can throw it your changes too. It needs to wait until
after SOSP though.

We should see about getting you commit access some time. I don't
have time to be a very good mentor at the moment, but maybe
someone else could.

For the 128-bit format used on sparc64, you probably need a
separate implementation (or at least different constants), but
hopefully that's not too hard once you've done it once. Dealing
with our reduced precision on x86 is easy, since in that case you
can just fall back on the ordinary sin() routine.


More information about the freebsd-standards mailing list