From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9367 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] allow implementing a_cas_p with pointer-sized ll/sc Date: Mon, 22 Feb 2016 22:35:16 -0500 Message-ID: <20160223033516.GN9349@brightrain.aerifal.cx> References: <1456197263-24464-1-git-send-email-koorogi@koorogi.info> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1456198533 16519 80.91.229.3 (23 Feb 2016 03:35:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2016 03:35:33 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9380-gllmg-musl=m.gmane.org@lists.openwall.com Tue Feb 23 04:35:32 2016 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1aY3l5-0006HQ-Iq for gllmg-musl@m.gmane.org; Tue, 23 Feb 2016 04:35:31 +0100 Original-Received: (qmail 30483 invoked by uid 550); 23 Feb 2016 03:35:29 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 30460 invoked from network); 23 Feb 2016 03:35:28 -0000 Content-Disposition: inline In-Reply-To: <1456197263-24464-1-git-send-email-koorogi@koorogi.info> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:9367 Archived-At: On Mon, Feb 22, 2016 at 09:14:23PM -0600, Bobby Bingham wrote: > No current ports do this, but it will be useful for porting to 64-bit ll/sc > architectures, such as mips64 and powerpc64. Thanks! Actually, aarch64 does, but it still needs a slightly modified version of a_cas_p anyway. Can you check that this is compatible with what's in the aarch64 file? I think we just need to add proper #define a_ll_p a_ll_p and #define a_sc_p a_sc_p. Rich