[PATCH] Use lwsync in PowerPC sync_* builtins

Richard Henderson rth@redhat.com
Wed Sep 3 17:35:00 GMT 2008


Anton Blanchard wrote:
> I noticed that sync_lock_release uses lwsync if available but every other
> sync_* builtin uses a heavyweight sync. eg:

Every other sync builtin has full-barrier semantics.  AFAIK, isync is 
correct.


r~



More information about the Gcc mailing list