From nobody Wed Oct 23 18:30:30 2024 X-Original-To: dev-commits-src-all@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 4XYczq3M1Gz5ZWwh; Wed, 23 Oct 2024 18:30:31 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XYczq0kpBz59BX; Wed, 23 Oct 2024 18:30:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729708231; 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=0/aUARsqVDXXGbjuMknIsSKO2cguJ0+vMlHIJCc6U/g=; b=TWnRr/N/+y0uIZkbUU1ZxjOImojNWlViPJKOhUrubn5oKdY8vvrOGjvhZqFiDohXtH2tUb h+dAegqC1ZIAp2W0g6spad3oRlMWa9FunVhjfW2FiwLBJAkgDXqGSsas0mzu+2m6jgRmB4 RPMqDLrCIuI3KeoigXO5sscDdhDLSGhqcvQiecLaIIBPsddNfww8KlODb00IdDntEg+U4j CuBg2TKFIR58x5xJQ1dzf8HCyAsp3O1jdHwkKH1XlaOlz9feFKn07AHZDibjj+WoDGVfCh VU0ApcVbySXhncNUAOjMe8baVNTKDAhy7qj5VdsrIoITTNQINug0SMjUyGHcrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729708231; 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=0/aUARsqVDXXGbjuMknIsSKO2cguJ0+vMlHIJCc6U/g=; b=A5Wom6sq+v2+olFhO0QdeHG46NtS7fqoyQj13L6caOhiP4jZ56Pz0tCC/CGdYjn3HBdBR8 lUIOVG+W7VpOJctkKRuUFETJanqCz1ODHFPdC9mQ+Aa0KqZHywdfM/rWy0tWZWGel8lUg1 WW82avd3NE7rt8/JPRH0Qcrbmeqk2JIdpgyb/n94RaFsy3T6c6c1rpOr3TlGzuYjdnRDtq j4jObC5lmwZjvIgUNLIkt8e0JGKwf+hh3BT/4NW+EzrfijX9k+1cg9vMNCAG1mlRTyxjxl G/Zd7C+rP9bD/rGZ6B2M7E108UFD3+87yT70MSpeU3D4g5+NpfUTpwPOP6n6gw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729708231; a=rsa-sha256; cv=none; b=TMZpzTrFsmQ/rVWpaD7QyECKRafVM8mqiWVHnKwINYnUeMatxqOS5isap3hL8FhWwW2Xpf 9E+JyLmdD+vGNjnOicHwtPjFdyULKxLDdK/Cjy5XV31XZ/k5wjhnaY9pqQOhmR/3EKE7c2 bMFh4KTzaHlfDzc+7bGd6yVexTPvn/C864E2PCo3GX7PG54N1qxce3+1jbVkJfp8jc73a/ mYACDSH/7hX0jyf0vTGlw0083bgfBEMq1UVnPxz18IljiOZ3am1P1h11iDRat1QFOpHqUH WoxbmauMjzX2+efAa5KUqKmhm+6tPgeGa6iChBWNpY0XqGqQjXdIDZUfEKfz0A== 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 4XYczq0LsQz18Td; Wed, 23 Oct 2024 18:30:31 +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 49NIUU6I069014; Wed, 23 Oct 2024 18:30:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49NIUULQ069012; Wed, 23 Oct 2024 18:30:30 GMT (envelope-from git) Date: Wed, 23 Oct 2024 18:30:30 GMT Message-Id: <202410231830.49NIUULQ069012@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dimitry Andric Subject: git: 6846ab2fb663 - main - 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: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: 6846ab2fb6630ca91ab0a71350d77358e521c1c7 Auto-Submitted: auto-generated The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=6846ab2fb6630ca91ab0a71350d77358e521c1c7 commit 6846ab2fb6630ca91ab0a71350d77358e521c1c7 Author: Dimitry Andric AuthorDate: 2024-08-05 20:05:46 +0000 Commit: Dimitry Andric CommitDate: 2024-10-23 18:26:36 +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 --- 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