timshen updated this revision to Diff 139044.
timshen added a comment.
Herald added a subscriber: christof.
Rebase.
https://reviews.llvm.org/D41844
Files:
libcxx/include/experimental/simd
libcxx/test/std/experimental/simd/simd.horizontal/hmax.pass.cpp
libcxx/test/std/experimental/simd/sim
lichray added inline comments.
Comment at: libcxx/include/experimental/simd:1561
+template >
+_Tp reduce(const simd<_Tp, _Abi>& __v, _BinaryOp __op = _BinaryOp()) {
Specified in terms of the transparent `plus<>`.
https://reviews.llvm.org/D41844
___
timshen created this revision.
timshen added reviewers: mclow.lists, EricWF.
Herald added a subscriber: sanjoy.
This is not efficiently implemented
typename V::value_type
reduce(const const_where_expression &x,
typename V::value_type neutral_element, BinaryOperation binary_op);
as w