https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89307
--- Comment #2 from Jan Hubicka <hubicka at gcc dot gnu.org> --- Created attachment 45703 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=45703&action=edit patch for tls counters (incomplete - no runtime bits) Also I think google's code to reduce cacheline conflicts is https://gcc.gnu.org/ml/gcc-patches/2012-05/msg00959.html