public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Iain D Sandoe <iains@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc(refs/users/iains/heads/d-for-darwin)] D, Darwin, PPC : Implement thread interfaces.
Date: Mon, 18 Oct 2021 15:54:48 +0000 (GMT)	[thread overview]
Message-ID: <20211018155448.01B6B3858402@sourceware.org> (raw)

https://gcc.gnu.org/g:45f4704ecd85db974c9626c3ed05cf8e944fb336

commit 45f4704ecd85db974c9626c3ed05cf8e944fb336
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Fri Dec 11 00:55:38 2020 +0000

    D, Darwin, PPC : Implement thread interfaces.
    
    This provides the implementation for the threads and fibres
    interfaces for PowerPC Darwin (32 and 64 bit).

Diff:
---
 libphobos/libdruntime/core/thread/fiber.d    | 1 +
 libphobos/libdruntime/core/thread/osthread.d | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/libphobos/libdruntime/core/thread/fiber.d b/libphobos/libdruntime/core/thread/fiber.d
index 4ae0d033be1..b61bc065c9c 100644
--- a/libphobos/libdruntime/core/thread/fiber.d
+++ b/libphobos/libdruntime/core/thread/fiber.d
@@ -147,6 +147,7 @@ private
         }
         else version (Posix)
         {
+            version = AsmPPC64_Posix;
             version = AlignFiberStackTo16Byte;
         }
     }
diff --git a/libphobos/libdruntime/core/thread/osthread.d b/libphobos/libdruntime/core/thread/osthread.d
index 9fcd30e50fb..9fe791dbe96 100644
--- a/libphobos/libdruntime/core/thread/osthread.d
+++ b/libphobos/libdruntime/core/thread/osthread.d
@@ -37,6 +37,11 @@ else version (TVOS)
     version = Darwin;
 else version (WatchOS)
     version = Darwin;
+version (Darwin)
+{
+    version (PPC) version = Darwin_AnyPPC;
+    version (PPC64) version = Darwin_AnyPPC;
+}
 
 version (Shared)
     version (GNU)


             reply	other threads:[~2021-10-18 15:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-18 15:54 Iain D Sandoe [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-10-15 19:34 Iain D Sandoe
2021-10-13  8:31 Iain D Sandoe
2021-10-11 20:35 Iain D Sandoe
2021-01-11 21:27 Iain D Sandoe
2020-12-21 20:38 Iain D Sandoe
2020-12-13 17:44 Iain D Sandoe

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=20211018155448.01B6B3858402@sourceware.org \
    --to=iains@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.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 read-only IMAP folder(s) and NNTP newsgroup(s).