[PATCH] Improve implementation of parallel equal()
Thomas Rodgers
trodgers@redhat.com
Tue Apr 16 19:39:00 GMT 2019
* include/pstl/algorithm_impl.h
(__internal::__brick_equal): use "4 iterator" version of
std::equal().
(__internal::__brick_equal): use simd for random access
iterators on unsequenced execution policies.
(__internal::__pattern_equal): add "4 iterator" version
(__internal::__pattern_equal): dispatch to simd __brick_equal
for vector-only execution policies.
(__internal::__pattern_equal): disptach to __parallel_or for
parallel execution policies.
* include/pstl/glue_algorithm_impl.h
(std::equal): dispatch to "4 iterator" version of
__internal::__pattern_equal().
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Improve-implementation-of-parallel-equal.patch
Type: text/x-patch
Size: 5129 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20190416/83fc5c60/attachment.bin>
More information about the Libstdc++
mailing list