[libcxx-commits] [libcxx] [libc++] Start implementing std::datapar::simd (PR #139919)

Matthias Kretz via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jun 2 12:44:33 PDT 2025


mattkretz wrote:

Louis Dionne [Friday, 30 May 2025, 17:50:11 CEST]:
> @mattkretz Hi, sorry to ping you here directly, but we were wondering why
> WG21 decided to introduce the _simd-size-type_ exposition-only member
> instead of just sticking with e.g. `int`. Is there a reason for that?

The type was motivated (in LEWG review) by the return type of the mask 
reductions which return integral values (reduce_count, reduce_min_index, 
reduce_max_index). There was apparently a concern that some platforms might 
use some other width than that of an 'int'.




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


More information about the libcxx-commits mailing list