This is the mail archive of the gcc@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]

Re: [PATCH] Speed up __sync_lock_test_and_set on PowerPC


David Edelsohn wrote:
On Wed, Sep 3, 2008 at 3:06 AM, Anton Blanchard <anton@samba.org> wrote:
Why does the GCC alpha port emit a memory barrier at the beginning of the
test_and_set sync builtin sequence, which seems to be more than
the required `acquire' semantics?

Um, that's a good question. It doesn't have one at the end either, which would seem to be broken... I should move it down to the end.


r~



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