mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: [PATCH] allow implementing a_cas_p with pointer-sized ll/sc
Date: Tue, 23 Feb 2016 13:08:29 -0500	[thread overview]
Message-ID: <20160223180829.GP9349@brightrain.aerifal.cx> (raw)
In-Reply-To: <20160223033516.GN9349@brightrain.aerifal.cx>

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


      reply	other threads:[~2016-02-23 18:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-23  3:14 Bobby Bingham
2016-02-23  3:35 ` Rich Felker
2016-02-23 18:08   ` Rich Felker [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160223180829.GP9349@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).