mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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 6846ab2fb6)
This commit is contained in:
parent
3d31a1d8cd
commit
cc1632ed30
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue