Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2005 09:54:23 -0400 (EDT)
From:      Daniel Eischen <deischen@freebsd.org>
To:        Marc Olzheim <marcolz@stack.nl>
Cc:        freebsd-threads@freebsd.org
Subject:   Re: Floating point exceptions with -pthread
Message-ID:  <Pine.GSO.4.43.0505030953170.22622-100000@sea.ntplx.net>
In-Reply-To: <20050503110818.GA66132@stack.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 3 May 2005, Marc Olzheim 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.

-- 
DE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.43.0505030953170.22622-100000>