Floating point exceptions with -pthread
marcolz at stack.nl
Tue May 3 07:00:38 PDT 2005
On Tue, May 03, 2005 at 09:54:23AM -0400, Daniel Eischen wrote:
> > Hi.
> > I was wondering whether it was safe to use floating point calculations /
> > libm functions with 5.4-STABLE's pthread library on HT+SMP. I keep
> > getting floating point exceptions on places where they should not
> > happen... :-(
> Yes, it should work fine. If you can verify the problem exists
> (or doesn't) on -current, that might help. It sounds like FPU
> context isn't getting saved/restored correctly in the kernel.
I don't have a -current machine with HyperThreading... :-/
But I mailed a test program in a different thread; perhaps somebody else
is willing to run it...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-threads/attachments/20050503/03a35486/attachment.bin
More information about the freebsd-threads