9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Jon Sharp <jrsharp@sdf.org>
To: 9front@9front.org
Subject: Re: [9front] Drawterm patch -- build on latest OpenBSD/PPC
Date: Fri, 23 Aug 2024 20:27:17 +0000 (UTC)	[thread overview]
Message-ID: <4a0d4067-4a14-8114-36e8-460fb7c63a19@sdf.org> (raw)
In-Reply-To: <1EDF1C4B5C58DA4F532F439A14D0C2E7@ftrv.se>

Confirmed. The builtins approach borrowed directly from arm64 seems to be 
working just fine!

Thanks,
Jon

On Thu, 22 Aug 2024, Sigrid Solveig Hafl?nud?ttir wrote:

> Date: Thu, 22 Aug 2024 22:51:51 +0200
> From: Sigrid Solveig Hafl?nud?ttir <sigrid@ftrv.se>
> Reply-To: 9front@9front.org
> To: 9front@9front.org
> Subject: Re: [9front] Drawterm patch -- build on latest OpenBSD/PPC
> 
> I will say it again - tas.c per platform should not exist. What gcc/clang have as builtins should be enough to do a portable version that doesn't end up broken for whatever reason.
> Jon, if you can test __atomic_test_and_set approach of arm64 on ppc and tell us if it works, that'd be great. We can remove the platform-specific implementations and keep just one C file instead.
>

jrsharp@sdf.lonestar.org
SDF Public Access UNIX System - http://sdf.lonestar.org

      reply	other threads:[~2024-08-23 20:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-09  3:50 Jon Sharp
2024-08-22 18:39 ` Stanley Lieber
2024-08-22 20:51   ` Sigrid Solveig Haflínudóttir
2024-08-23 20:27     ` Jon Sharp [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=4a0d4067-4a14-8114-36e8-460fb7c63a19@sdf.org \
    --to=jrsharp@sdf.org \
    --cc=9front@9front.org \
    /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.
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).