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

redi@gcc.gnu.org redi@gcc.gnu.org
Wed Jul 4 08:07:00 GMT 2018


Author: redi
Date: Wed Jul  4 08:07:23 2018
New Revision: 262378

URL: https://gcc.gnu.org/viewcvs?rev=262378&root=gcc&view=rev
Log:
Optimize std::rotl and std::rotr, add test for std::popcount

	* include/std/bit (__rotl, __rotr): Avoid branch.
	(_If_is_unsigned_integer): Use remove_cv_t.
	* testsuite/26_numerics/bit/bitops.count/popcount.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/26_numerics/bit/bitops.count/popcount.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/include/std/bit



More information about the Libstdc++-cvs mailing list