From owner-freebsd-threads@FreeBSD.ORG Wed May 4 10:32:08 2005 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9C84E16A4CE; Wed, 4 May 2005 10:32:08 +0000 (GMT) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id D08C543D31; Wed, 4 May 2005 10:32:07 +0000 (GMT) (envelope-from marcolz@stack.nl) Received: from hammer.stack.nl (hammer.stack.nl [IPv6:2001:610:1108:5010::153]) by mailhost.stack.nl (Postfix) with ESMTP id 267061F00B; Wed, 4 May 2005 12:31:45 +0200 (CEST) Received: by hammer.stack.nl (Postfix, from userid 333) id 0C8A26393; Wed, 4 May 2005 12:31:45 +0200 (CEST) Date: Wed, 4 May 2005 12:31:44 +0200 From: Marc Olzheim To: Daniel Eischen Message-ID: <20050504103144.GA74093@stack.nl> References: <20050503110818.GA66132@stack.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PEIAKu/WMn1b1Hv9" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD hammer.stack.nl 5.4-STABLE FreeBSD 5.4-STABLE X-URL: http://www.stack.nl/~marcolz/ User-Agent: Mutt/1.5.9i cc: Marc Olzheim cc: freebsd-threads@freebsd.org Subject: Re: Floating point exceptions with -pthread X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 May 2005 10:32:08 -0000 --PEIAKu/WMn1b1Hv9 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. Should I file a PR ? Marc --PEIAKu/WMn1b1Hv9 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCeKSQezjnobFOgrERAm8KAJ9iYDqLofVcWRDmujZTuGnSy+SgUwCgsfy0 Kut0rFzqtDWjE3pRCJbmHdE= =xzCo -----END PGP SIGNATURE----- --PEIAKu/WMn1b1Hv9--