[libcxx-commits] [libcxx] [libc++] <experimental/simd> Add unary operators for class simd (PR #104764)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Sep 8 07:54:48 PDT 2024
================
@@ -67,6 +67,16 @@ struct __simd_operations<_Tp, simd_abi::__scalar> {
static _LIBCPP_HIDE_FROM_ABI void __store(_SimdStorage __s, _Up* __mem) noexcept {
*__mem = static_cast<_Up>(__s.__data);
}
+
+ static void __increment(_SimdStorage& __s) noexcept { ++__s.__data; }
----------------
philnik777 wrote:
Missing `_LIBCPP_HIDE_FROM_ABI`!
https://github.com/llvm/llvm-project/pull/104764
More information about the libcxx-commits
mailing list