[Bug libstdc++/46447] std::atomic_flag slower than std::atomic_uchar
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 16 13:37:01 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46447
--- Comment #6 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Jonathan Wakely <redi@gcc.gnu.org>:
https://gcc.gnu.org/g:3cee0c6562e5d8df69a9d6ad613a6f3edcfcc797
commit r11-6138-g3cee0c6562e5d8df69a9d6ad613a6f3edcfcc797
Author: Jonathan Wakely <jwakely@redhat.com>
Date: Wed Dec 16 11:51:42 2020 +0000
libstdc++: Add performance test for atomic_flag [PR 46447]
This adds a test to compare the performance of std::atomic_flag with
similar operations on std::atomic_uchar and std::atomic_int.
libstdc++-v3/ChangeLog:
PR libstdc++/46447
* testsuite/performance/29_atomics/atomic_flag.cc: New test.
More information about the Gcc-bugs
mailing list