From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1698) id 55B573858023; Wed, 13 Oct 2021 08:31:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55B573858023 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Iain D Sandoe To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/iains/heads/d-for-darwin)] D, Darwin, PPC : Implement thread interfaces. X-Act-Checkin: gcc X-Git-Author: Iain Sandoe X-Git-Refname: refs/users/iains/heads/d-for-darwin X-Git-Oldrev: ccfc6d4a764e640591d309c0632d2bb9595c161a X-Git-Newrev: 0b4ba3707d6ef4fc5f0eb8d973cef1b429b3b1f0 Message-Id: <20211013083120.55B573858023@sourceware.org> Date: Wed, 13 Oct 2021 08:31:20 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2021 08:31:20 -0000 https://gcc.gnu.org/g:0b4ba3707d6ef4fc5f0eb8d973cef1b429b3b1f0 commit 0b4ba3707d6ef4fc5f0eb8d973cef1b429b3b1f0 Author: Iain Sandoe 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)