On Thu, 23 Feb 2023 at 08:53, Matthias Kretz via Libstdc++ <libstd...@gcc.gnu.org> wrote: > > > > Broadcast is a very common function. This should reduce compile-time > effort.
OK for all branches. > Signed-off-by: Matthias Kretz <m.kr...@gsi.de> > > libstdc++-v3/ChangeLog: > > PR libstdc++/108030 > * include/experimental/bits/simd.h (__vector_broadcast): > Implement via __vector_broadcast_impl instead of > __call_with_n_evaluations + 2 lambdas. > (__vector_broadcast_impl): New. > --- > libstdc++-v3/include/experimental/bits/simd.h | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > > -- > ────────────────────────────────────────────────────────────────────────── > Dr. Matthias Kretz https://mattkretz.github.io > GSI Helmholtz Centre for Heavy Ion Research https://gsi.de > stdₓ::simd > ──────────────────────────────────────────────────────────────────────────