From owner-freebsd-sparc64@FreeBSD.ORG Sun Jul 22 22:13:19 2012 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 97870106566C for ; Sun, 22 Jul 2012 22:13:19 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (host-122-100-2-194.octopus.com.au [122.100.2.194]) by mx1.freebsd.org (Postfix) with ESMTP id 2A4228FC19 for ; Sun, 22 Jul 2012 22:13:18 +0000 (UTC) Received: from server.rulingia.com (c220-239-247-45.belrs5.nsw.optusnet.com.au [220.239.247.45]) by vps.rulingia.com (8.14.5/8.14.5) with ESMTP id q6MMDIsW009937 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 23 Jul 2012 08:13:18 +1000 (EST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.5/8.14.5) with ESMTP id q6MMDCdC008025 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 23 Jul 2012 08:13:12 +1000 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.5/8.14.5/Submit) id q6MMDCok008024 for freebsd-sparc64@freebsd.org; Mon, 23 Jul 2012 08:13:12 +1000 (EST) (envelope-from peter) Date: Mon, 23 Jul 2012 08:13:12 +1000 From: Peter Jeremy To: freebsd-sparc64@freebsd.org Message-ID: <20120722221312.GB7791@server.rulingia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="oC1+HKm2/end4ao3" Content-Disposition: inline X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.21 (2010-09-15) Subject: FP Exception handling on SPARC X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2012 22:13:19 -0000 --oC1+HKm2/end4ao3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable I've been doing some experiments on mixing NaNs using x87, SSE, sparc64 on FreeBSD, Solaris/SPARC and Linux/ARM. My conclusion is that there is no standardisation between the FPUs (and the base gcc also evaluates constant expressions differently to the target FPU). However, I've also noticed that FreeBSD/sparc64 and SunStudio on Solaris10/SPARC also give different results. Should we modify the FreeBSD/sparc64 FP exception handling code to match Solaris? --=20 Peter Jeremy --oC1+HKm2/end4ao3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlAMevgACgkQ/opHv/APuIfd8ACgm5EDlesGNSWnHVgaJyqqVx+/ kSIAn1N9MoRaA7Vc+iwou/9i3oqDE5hi =IKAn -----END PGP SIGNATURE----- --oC1+HKm2/end4ao3--