r270463 - in /trunk/libstdc++-v3: ChangeLog inc...

rodgertq@gcc.gnu.org rodgertq@gcc.gnu.org
Fri Apr 19 22:44:00 GMT 2019


Author: rodgertq
Date: Fri Apr 19 22:44:11 2019
New Revision: 270463

URL: https://gcc.gnu.org/viewcvs?rev=270463&root=gcc&view=rev
Log:
Improve implementation of parallel equal()

	* 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): dispatch to __parallel_or for
	parallel execution policies.
	* include/pstl/glue_algorithm_impl.h
	(std::equal): dispatch to "4 iterator" version of
	__internal::__pattern_equal().

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/pstl/algorithm_impl.h
    trunk/libstdc++-v3/include/pstl/glue_algorithm_impl.h



More information about the Libstdc++-cvs mailing list