This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/51798] [4.7 regression] libstdc++ atomicity performance regression due to __sync_fetch_and_add


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51798

--- Comment #21 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-01-27 14:49:12 UTC ---
(In reply to comment #20)
> The patch is incomplete because it should update
> src/libstdc++-v3/config/cpu/generic/atomicity_builtins/atomicity.h as well.

It does update even that file.
The patch attached here doesn't work though, but with
sed -i -e s/__atomic_fetch_and_add/__atomic_fetch_add/g gcc47-pr51798.patch
it does, so far bootstrap/regression tested on x86_64-linux, i686-linux and
bootstrap tested on {powerpc{,64},s390{,x}}-linux, regression testing on those
4 ongoing.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]