From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1873) id 0C441385700F; Fri, 17 Sep 2021 14:34:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0C441385700F Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Iain Buclaw To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/users/ibuclaw/heads/darwin)] D, Darwin, PPC : Implement thread interfaces. X-Act-Checkin: gcc X-Git-Author: Iain Sandoe X-Git-Refname: refs/users/ibuclaw/heads/darwin X-Git-Oldrev: 8a68bdef741682502fb9e0bd8469ece2f71c63d7 X-Git-Newrev: f9b2cedd1c241c34935e784b75ea6d92ee854e3f Message-Id: <20210917143457.0C441385700F@sourceware.org> Date: Fri, 17 Sep 2021 14:34:57 +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: Fri, 17 Sep 2021 14:34:57 -0000 https://gcc.gnu.org/g:f9b2cedd1c241c34935e784b75ea6d92ee854e3f commit f9b2cedd1c241c34935e784b75ea6d92ee854e3f 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)