From nobody Sun Dec 01 12:54:05 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 4Y1Rgd5qJ5z5fb36; Sun, 01 Dec 2024 12:54:05 +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 4Y1Rgd36P5z4Njb; Sun, 1 Dec 2024 12:54:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733057645; 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=tz1koFJ/6wEkObkWE3b6Zw8Lc4bGmY2r8uNrNfU4T8k=; b=HTuvik/KtjYeBo/WvopEd7MyTGMkVdoytG3hh7CgavfX8Wm5/ZnDgwTeXpP/G35rRIInu0 8VSInh2ta5caf4Q1QOyipwhUfVYQVjyJR5MYrPdCSc43Q3SUKsqwCoRbeck0Gd9vha7xTQ Idhu25/tFmSlzJXjZ9xxB0KwTsbHpCqvLevbZhmF/YbpR/Ctvkq0UNr923J5mDO1R79x9m bxKjqe9wvj5Ry9XhT+CgbTpZ/dSO0VlP9Zv1BKifNkdZx6tTrH8bk5eSYG/Rwn0t6I9u4l yy2Kk+ydX1vvzb74cVv2redX8YuzYQ6zmKBGxHB2L7YXhHynbNEYiSJ5QePsEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733057645; 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=tz1koFJ/6wEkObkWE3b6Zw8Lc4bGmY2r8uNrNfU4T8k=; b=O73soFO8hIrVAafD/hT8Ngos/8oSPmU8DL9T9PRI+xMoKdk8Ra2ifX+c8jIkDgNNWVSyna fCGDORslvVAS8FVtA53GTJwT6IMFrUzAyeJsXKtML/pIWp4M0y7cl82xEsNg4/cBogzZGE HSMNWKrKfQiLBoQr/JnV666rHRU60wIun8WThgrLWPcRXwnr8Heuo8b7ovaVzOxtlhYD9U NZ1PLQerQcYKVxiN7dgEXjtbFzGXorUBsuBB95P1OyDAcBxWWY9/s1hpB2i4dgKKoLOKtw 9rJ6TVSQs+rIXgTNTE9qdZKsI0fx0P/4JqoOGs5s6txhMzJDaAEsvGdI6mPXCQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733057645; a=rsa-sha256; cv=none; b=twZZiUTCM0x3f/cvqDscsfj7QgtojTLMvoc2g3XJF80lvZvbfdr3xrcw0a9VwwA8rE0LOO 7djnWcSclN14pWM7+KWK8wZuYnRM/PF3umZIW5MO5W1zJPW+0zuqgxewLnmtBpxDLlbZQ1 yanVDHHtKh0WHPMudDpMXxTJ3HPF7FTUM5O32wEv9xxXC728caQXlKHORyBZ6j8XYgPhep xyxcypMoJeGlZNtX7N38il5iSBEWwovyjHLrBwj8nn0Yn4tasVLJDj6svfjB+NveiKmDm+ enRcEIPTriPWE3SbZ5PH8EBHzLflkr26f9h1UhBh6t9A0Hhv6+7e0tM4ldoLOA== 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 4Y1Rgd2Rs0zt54; Sun, 1 Dec 2024 12:54:05 +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 4B1Cs5gD093320; Sun, 1 Dec 2024 12:54:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4B1Cs5Ua093317; Sun, 1 Dec 2024 12:54:05 GMT (envelope-from git) Date: Sun, 1 Dec 2024 12:54:05 GMT Message-Id: <202412011254.4B1Cs5Ua093317@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: 37fd93d0c2df - stable/13 - 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/stable/13 X-Git-Reftype: branch X-Git-Commit: 37fd93d0c2df56b709ca49b21036f5070417502a Auto-Submitted: auto-generated The branch stable/13 has been updated by dim: URL: https://cgit.FreeBSD.org/src/commit/?id=37fd93d0c2df56b709ca49b21036f5070417502a commit 37fd93d0c2df56b709ca49b21036f5070417502a Author: Dimitry Andric AuthorDate: 2024-08-05 20:05:46 +0000 Commit: Dimitry Andric CommitDate: 2024-12-01 12:32:38 +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