Date: Tue, 3 May 2005 15:23:12 +0200 From: Marc Olzheim <marcolz@stack.nl> To: freebsd-threads@freebsd.org Subject: Re: Floating point exceptions with -pthread Message-ID: <20050503132312.GB66132@stack.nl> In-Reply-To: <20050503110818.GA66132@stack.nl> References: <20050503110818.GA66132@stack.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
--DIOMP1UsTsWJauNi Content-Type: multipart/mixed; boundary="LpQ9ahxlCli8rRTG" Content-Disposition: inline --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 03, 2005 at 01:08:18PM +0200, Marc Olzheim wrote: > Hi. >=20 > 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... :-( I've narrowed it down to the following program. The th version crashes within seconds, while the non th version has no problems. amd64 doesn't have this problem either; it just goes wrong on i386/SMP+HT. i386/SMP (athlon MP) seems to have no problems either. Am I doing something wrong here ? Marc --LpQ9ahxlCli8rRTG-- --DIOMP1UsTsWJauNi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCd3tAezjnobFOgrERAuBwAJwJU4ghNyl3kJcwV/PIBc5974Zj2wCgvkJh qEZ0fjcdsRXpCVomjgz9caE= =DI+R -----END PGP SIGNATURE----- --DIOMP1UsTsWJauNi--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050503132312.GB66132>