From owner-freebsd-bugs@freebsd.org Sun Apr 11 16:18:24 2021 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1FBFF5D4B07 for ; Sun, 11 Apr 2021 16:18:24 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4FJH9D0FRbz3rq6 for ; Sun, 11 Apr 2021 16:18:24 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: by mailman.nyi.freebsd.org (Postfix) id 086F05D4A38; Sun, 11 Apr 2021 16:18:24 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 083865D4B05 for ; Sun, 11 Apr 2021 16:18:24 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FJH9C6pCDz3rmZ; Sun, 11 Apr 2021 16:18:23 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:470:7a58:1::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "R3" (verified OK)) (Authenticated sender: dim) by smtp.freebsd.org (Postfix) with ESMTPSA id C24DB6FEB; Sun, 11 Apr 2021 16:18:23 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from [IPv6:2001:470:7a58:0:9d77:73d3:77bc:2dc1] (unknown [IPv6:2001:470:7a58:0:9d77:73d3:77bc:2dc1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id B3688D7F3; Sun, 11 Apr 2021 18:18:21 +0200 (CEST) From: Dimitry Andric Message-Id: <31E3B124-DDE2-4CD0-8D02-380FD2C907F4@FreeBSD.org> Content-Type: multipart/signed; boundary="Apple-Mail=_36B77F6D-7731-4FEB-B792-A1D1D7894718"; protocol="application/pgp-signature"; micalg=pgp-sha1 Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: =?utf-8?Q?Re=3A_=5BBug_254911=5D_lib/msun/ctrig=5Ftest_fails_if_c?= =?utf-8?Q?ompiled_with_AVX=C2=A0=28-mavx=29_or_any_CPUSET_enabling_AVX?= Date: Sun, 11 Apr 2021 18:18:12 +0200 In-Reply-To: Cc: bugzilla-noreply@freebsd.org, bugs@freebsd.org To: "Kevin P. Neal" References: X-Mailer: Apple Mail (2.3654.60.0.2.21) X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Apr 2021 16:18:24 -0000 --Apple-Mail=_36B77F6D-7731-4FEB-B792-A1D1D7894718 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 11 Apr 2021, at 03:32, Kevin P. Neal wrote: >=20 > On Sat, Apr 10, 2021 at 02:04:29PM +0000, bugzilla-noreply@freebsd.org = wrote: >> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254911 >>=20 >> --- Comment #5 from commit-hook@FreeBSD.org --- >> A commit in branch main references this bug: >>=20 >> URL: >> = https://cgit.FreeBSD.org/src/commit/?id=3Dbae9fd0b33462e9506c3ac3400089c6d= bc4aee8f >>=20 >> commit bae9fd0b33462e9506c3ac3400089c6dbc4aee8f >> Author: Dimitry Andric >> AuthorDate: 2021-04-10 14:02:49 +0000 >> Commit: Dimitry Andric >> CommitDate: 2021-04-10 14:02:58 +0000 >>=20 >> Only use -fp-exception-behavior=3Dmaytrap on x86, for now >>=20 >> After 3b00222f156d, it turns out that clang only supports strict >> floating point semantics for SystemZ and x86 at the moment, while = for >> other architectures it is still experimental. >>=20 >> Therefore, only use -fp-exception-behavior=3Dmaytrap on x86 for = now, >> otherwise this option results in "error: overriding currently >> unsupported use of floating point exceptions on this target >> [-Werror,-Wunsupported-floating-point-opt]" on other = architectures. >=20 > I can't remember exactly when, but clang 11 is probably when it gained > support for PowerPC. Don't hold me to that, though. Keep that on the = list > of changes to check on when upgrading to a newer version of clang. As = for > AArch64, if anyone is working on it they aren't saying anything at = all. Ah yes, with llvm main (llvmorg-13-init-6905-g91248e2db93a) as of today: % ag -s HasStrictFP clang/include/clang/Basic/TargetInfo.h 204: bool HasStrictFP; 595: virtual bool hasStrictFP() const { return HasStrictFP; } clang/lib/Basic/TargetInfo.cpp 40: HasStrictFP =3D false; clang/lib/Basic/Targets/SystemZ.h 51: HasStrictFP =3D true; clang/lib/Basic/Targets/PPC.h 87: HasStrictFP =3D true; clang/lib/Basic/Targets/X86.h 151: HasStrictFP =3D true; The PPC StrictFP support got turned on in: = https://github.com/llvm/llvm-project/commit/8ecc8520bc5bc20ae00c13e5ae13f8= edbb80642e on 2020-09-11, so it will be in 12.0.0 release, at least. Though the commit message still says "Since work for enabling constrained FP on PowerPC is almost done, we'd like to enable it". No idea how done it is. :) -Dimitry --Apple-Mail=_36B77F6D-7731-4FEB-B792-A1D1D7894718 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.2 iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCYHMhRAAKCRCwXqMKLiCW owBLAKCXQILvj8m2dO6FKQwMzrh/D7Nt+wCeJW93+vrDIAyKYMvV+r+IQCAc6bw= =SuE2 -----END PGP SIGNATURE----- --Apple-Mail=_36B77F6D-7731-4FEB-B792-A1D1D7894718--