This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: Use lwsync on 64bit
- From: Carlos Eduardo Seo <cseo at linux dot vnet dot ibm dot com>
- To: Anton Blanchard <anton at samba dot org>
- Cc: <libc-alpha at sourceware dot org>, <tuliom at linux dot vnet dot ibm dot com>
- Date: Mon, 13 Feb 2017 12:24:11 -0200
- Subject: Re: [PATCH] powerpc: Use lwsync on 64bit
- Authentication-results: sourceware.org; auth=none
- References: <20170213102220.31ba7d56@kryten>
On 2/12/17, 9:22 PM, "Anton Blanchard" <libc-alpha-owner@sourceware.org on behalf of anton@samba.org> wrote:
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.
OK
--
Carlos Eduardo Seo
Software Engineer - Linux on Power Toolchain
cseo@linux.vnet.ibm.com