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

next in thread | previous in thread | raw e-mail | index | archive | help

--SWTRyWv/ijrBap1m
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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... :-(
>=20
> 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...

Marc

--SWTRyWv/ijrBap1m
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCd4P9ezjnobFOgrERAgnkAJ9S+DA362TIorIJyK+TAm3bOPfWoACffSxr
4Jq7lrs3e3xIllXtPgMZ4Fg=
=UzGI
-----END PGP SIGNATURE-----

--SWTRyWv/ijrBap1m--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050503140029.GE66132>