https://gcc.gnu.org/bugzilla/show_bug.cgi?id=46447
--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> --- With trunk on powerpc64le the results are consistent for the different types, but the clear operations are faster: atomic_flag.cc atomic_flag::test_and_set() 358r atomic_flag.cc atomic_flag::clear() 159r atomic_flag.cc atomic_uchar::operator|=(1) 357r atomic_flag.cc atomic_flag::operator=(0) 159r atomic_flag.cc atomic_int::operator|=(1) 357r atomic_flag.cc atomic_int::operator=(0) 158r