[libcxx-commits] [libcxx] [libc++] <experimental/simd> Add unary operators for class simd_mask (PR #118468)

via libcxx-commits libcxx-commits at lists.llvm.org
Tue Apr 1 23:25:55 PDT 2025


joy2myself wrote:

> @joy2myself Given that `simd` is now voted into C++26 I'm not sure it's worth pursuing the experimental implementation anymore. Do you have any thoughts on that?

@philnik777  Thanks for raising these points! I researched [P1928R15](https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2024/p1928r15.pdf). Here's a proposal based on it's current status:
Since the current paper does modify the core data types of the <simd> header file, the implementation code of the current experimental version may not be reused on a large scale, and there is indeed not much value in continuing to advance the implementation.
Since the spec is still evolving, I plan to implement the current draft of P1928R15 in a downstream branch. Would the libc++ team consider accepting this as an experimental preview (marked as unstable)? This would let us iterate alongside standardization progress.
If upstream prefers to wait for finalization, I'll maintain it downstream but would appreciate reserving my commitment to upstream it once WG21 finalizes the spec.
In addition, does libc++ upstream have any form of communication with WG21? Can I participate in WG21's standardization work on the <simd> header file through libc++ upstream? Or just get the change information as soon as possible?

https://github.com/llvm/llvm-project/pull/118468


More information about the libcxx-commits mailing list