From nobody Sun Dec 1 11:18:33 2024 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y1PYP5XLkz5fT4c; Sun, 01 Dec 2024 11:18:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y1PYP23n9z42Sm; Sun, 1 Dec 2024 11:18:33 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733051913; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o6oVLnDhPmNZzw19I76xfvybqGGcjon0lbp6lvS3dew=; b=MwI5PbGR99jzreJYadQuYgpem33AQr0iz5DJHWAw2AADQh5JPWTVRPPuVvQ2GtLBbvcwWc CwmuEa5QA0+OMqrdOn5J7Be1u7ce5aRSYuMA41rMwxIJ941y1bHlkAH1eXHXSIv80msemS 8HrMtZlI1EwjtTB1KvNKq7o+1I89GQxaCm8zU7PwuAxVGT69k2UrTyjnKkJMFPZNgbm29v HoPVy/cO3r+/E+tz6moCFXe1tDTQj7Vx/CB6UghfJMD637VrpkY/QYvjO28VmcFGy9jh9p PN8ogLOHmGBYMv0Fewbw4hQq92cOSaC9gneJ9aU7uffuOfR6uVGuWSy4oSBsNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733051913; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=o6oVLnDhPmNZzw19I76xfvybqGGcjon0lbp6lvS3dew=; b=Qft033fbQAeRKFz4B5iea5ZmIjYNAPzKTHCOrlEFjigcilVc1HtPgHkK9glkaY8Cii+q3R 1xecVTk1zvOA6ueoLnnW/h8mn2NPq8mJY9lnQ5LeFfqLjgosJHb/F9wMPfeVOZSi5F5DBZ yfOKifmAdJa7W3iHDUuphhpAfCg0Y4BMsSkxjgHvgZmzIMe8YVBWCid4SzCx1C//s+s67+ +UFE4uukw7jI5wDAtEQdDvNVHwvlaOQeNZhBqnYp0YKexK61iTmuKYhgYXZAr8hmYcfOVy LdaxPyxzxmVN4yCUskQzn4apJdPM1bpGV/UhkYoQyVReIbMHWjNlN/TrwRXJVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733051913; a=rsa-sha256; cv=none; b=Pv9KmYs4SebzEPSYyVbz/Y3w9/AvuQS9VR1klN8MjH8xi1bYvTxAC5GltkLBNfq/8QWuj7 xCbfjTWZJ4lwSotSujsrE19fcaIZ+E+9jpKso2Juarex3w0nFKsiIVn1Tlr2ejcKe9ARUq VIEXzMRVloqhbItrv37gIeHNN3vblb+xj/UwepXYpA0Bkn1DljsJ/h8ZDvhb0xvlY+SBvK llpSUNOQDRYB0B128THKweS6OwXJc3zksqHu4nVBJGyaISSqbbB0/rWlYk6PC4y55pC+0D lmja8Dm0tWL/FCBLxSpaL4R/o5lVLbfA0Y6VWJvgOWaRFBfWJEps7Ye/2C06nA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y1PYP1Qtdzr9d; Sun, 1 Dec 2024 11:18:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4B1BIXp3007772; Sun, 1 Dec 2024 11:18:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B1BIXEr007769; Sun, 1 Dec 2024 11:18:33 GMT (envelope-from git) Date: Sun, 1 Dec 2024 11:18:33 GMT Message-Id: <202412011118.4B1BIXEr007769@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dimitry Andric Subject: git: cc1632ed3075 - stable/14 - libcxx simd_utils.h: only enable _LIBCPP_HAS_ALGORITHM_VECTOR_UTILS for clang >= 15, since older versions do not support the required builtins. List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: cc1632ed307517e28b58505abc2480f67780c778 Auto-Submitted: auto-generated The branch stable/14 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=cc1632ed307517e28b58505abc2480f67780c778 commit cc1632ed307517e28b58505abc2480f67780c778 Author: Dimitry Andric AuthorDate: 2024-08-05 20:05:46 +0000 Commit: Dimitry Andric CommitDate: 2024-12-01 11:17:08 +0000 libcxx simd_utils.h: only enable _LIBCPP_HAS_ALGORITHM_VECTOR_UTILS for clang >= 15, since older versions do not support the required builtins. PR: 280562 MFC after: 1 month (cherry picked from commit 6846ab2fb6630ca91ab0a71350d77358e521c1c7) --- contrib/llvm-project/libcxx/include/__algorithm/simd_utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/llvm-project/libcxx/include/__algorithm/simd_utils.h b/contrib/llvm-project/libcxx/include/__algorithm/simd_utils.h index 549197be8018..cb5c93675cad 100644 --- a/contrib/llvm-project/libcxx/include/__algorithm/simd_utils.h +++ b/contrib/llvm-project/libcxx/include/__algorithm/simd_utils.h @@ -28,7 +28,7 @@ _LIBCPP_PUSH_MACROS #include <__undef_macros> // TODO: Find out how altivec changes things and allow vectorizations there too. -#if _LIBCPP_STD_VER >= 14 && defined(_LIBCPP_CLANG_VER) && !defined(__ALTIVEC__) +#if _LIBCPP_STD_VER >= 14 && (defined(_LIBCPP_CLANG_VER) && _LIBCPP_CLANG_VER >= 1500) && !defined(__ALTIVEC__) # define _LIBCPP_HAS_ALGORITHM_VECTOR_UTILS 1 #else # define _LIBCPP_HAS_ALGORITHM_VECTOR_UTILS 0