This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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] powerpc: Use lwsync on 64bit


Anton Blanchard <anton@samba.org> writes:

> Either an isync or an lwsync can be used as an acquire barrier after
> a larx/stcx/bne sequence. All 64bit CPUs support lwsync and since the
> isync instruction has other side effects that we don't need, use lwsync.
>
> 2017-02-12  Anton Blanchard  <anton@samba.org>
>
> 	* sysdeps/powerpc/atomic-machine.h: Allow __ARCH_ACQ_INSTR to be
> 	overridden.
> 	* sysdeps/powerpc/powerpc64/atomic-machine.h: define __ARCH_ACQ_INSTR

LGTM.

-- 
Tulio Magno


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