From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/9370 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: Tue, 23 Feb 2016 13:08:29 -0500 Message-ID: <20160223180829.GP9349@brightrain.aerifal.cx> References: <1456197263-24464-1-git-send-email-koorogi@koorogi.info> <20160223033516.GN9349@brightrain.aerifal.cx> 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 1456250929 1102 80.91.229.3 (23 Feb 2016 18:08:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Feb 2016 18:08:49 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-9383-gllmg-musl=m.gmane.org@lists.openwall.com Tue Feb 23 19:08:46 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 1aYHO9-0003bD-Gi for gllmg-musl@m.gmane.org; Tue, 23 Feb 2016 19:08:45 +0100 Original-Received: (qmail 12164 invoked by uid 550); 23 Feb 2016 18:08:42 -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 12140 invoked from network); 23 Feb 2016 18:08:42 -0000 Content-Disposition: inline In-Reply-To: <20160223033516.GN9349@brightrain.aerifal.cx> User-Agent: Mutt/1.5.21 (2010-09-15) Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:9370 Archived-At: On Mon, Feb 22, 2016 at 10:35:16PM -0500, Rich Felker wrote: > 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. Never mind, nsz and I checked it out and I think your patch is fine. I've committed a fix for the missing #defines on aarch64 too. Rich