From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152]) by sourceware.org (Postfix) with ESMTPS id 2B25D3860743 for ; Thu, 7 Dec 2023 10:34:35 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2B25D3860743 Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=gdcproject.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gdcproject.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2B25D3860743 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=80.241.56.152 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701945277; cv=none; b=HRUvQSibvQx6fZQd4PHaPu0PM2jtbGRnG9emoJB10rG6jwlAmfBk3USr8dURQm4xb011XNAvxHXHJioKG0Q22xcZHDy8KEvbh6DVJ8GOxZH9/YmSzoGGumf9dVnisAX0XSlgPB6jGnWBON/cg5D5LKaDDBAuvthqT4lXDgLxEd4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701945277; c=relaxed/simple; bh=L5ZrW32uw2dkjmXXlThQmxLnENfCjWj+GMbDSSZ+kiw=; h=DKIM-Signature:Date:From:Subject:To:MIME-Version:Message-Id; b=gXhUBiF4zk+uyiIXrGzPp9nRWqm1LOE7g6NGMCpgtWefr0xUU8JUs9fWvBowqWL+Hc9AIgqd9qy2xSHWdUDJ0QNT5a/0wevn+Dq+oT2aFBootlQMBLIxCA5lXF5OGMg6uKBZ4lHkX3nIwsjx5nJ0NVigj0O2Eqjsa9N6PthhLy4= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4Sm9cm4JMPz9t1B; Thu, 7 Dec 2023 11:34:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gdcproject.org; s=MBO0001; t=1701945272; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qYIleyy47bPkgBXXOxzG9K34oBV2BDaI/39YSu22bb0=; b=QeRoXQlzY7e8SACTJUUJSONST5Vq+JeF0QNjQLyFgY8Quv5isgDqUHhIxq9RCOAuA2pu39 MHcP2kBjtV9shYEwGnThSMYhEbmQ56IClHrMuu90ZLvGqg7u79sN9CN7AqUpSE8qhj2Ee/ xj9IauQQXfowoNCp/13jXyLYpEPJdnnZepwkGWJCK1wKYjmskko2IDS31uefHdHnk1UXXi Vk0mtsDsmPUsaxxYx1X5FWQJzpApTYhfnLNgURABOeTxoWNKAHDa/ejcUIaDlFtLKrXgH+ z2sgP82c1au2cmiCvF19t3D+x+IWxTl8FjP3B6mdG6E9rIzz2aK9RM/ZV78djQ== Date: Thu, 07 Dec 2023 11:34:28 +0100 From: Iain Buclaw Subject: Re: [PATCH v3 2/3] libphobos: Update build scripts for LoongArch64. To: gcc-patches@gcc.gnu.org, Yang Yujie Cc: chenglulu@loongson.cn, xuchenghua@loongson.cn References: <20231201100827.227376-1-yangyujie@loongson.cn> <20231201100827.227376-3-yangyujie@loongson.cn> In-Reply-To: <20231201100827.227376-3-yangyujie@loongson.cn> MIME-Version: 1.0 Message-Id: <1701945040.awjsuc9b2c.astroid@pulse.none> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4Sm9cm4JMPz9t1B X-Spam-Status: No, score=-13.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Excerpts from Yang Yujie's message of Dezember 1, 2023 11:08 am: > libphobos/ChangeLog: >=20 > * m4/druntime/cpu.m4: Support loongarch* targets. > * libdruntime/Makefile.am: Same. > * libdruntime/Makefile.in: Regenerate. > * configure: Regenerate. > --- > libphobos/configure | 21 ++++++- > libphobos/libdruntime/Makefile.am | 3 + > libphobos/libdruntime/Makefile.in | 98 +++++++++++++++++++------------ > libphobos/m4/druntime/cpu.m4 | 5 ++ > 4 files changed, 87 insertions(+), 40 deletions(-) >=20 > diff --git a/libphobos/libdruntime/Makefile.am b/libphobos/libdruntime/Ma= kefile.am > index 23205fd3301..ca43a0753c4 100644 > --- a/libphobos/libdruntime/Makefile.am > +++ b/libphobos/libdruntime/Makefile.am > @@ -83,6 +83,9 @@ endif > if DRUNTIME_CPU_ARM > DRUNTIME_SOURCES_CONFIGURED +=3D config/arm/switchcontext.S > endif > +if DRUNTIME_CPU_LOONGARCH > + DRUNTIME_SOURCES_CONFIGURED +=3D config/loongarch/switchcontext.S > +endif > if DRUNTIME_CPU_MIPS > DRUNTIME_SOURCES_CONFIGURED +=3D config/mips/switchcontext.S > endif Just a nitpick, I'd thought the committing of switchcontext.S should come before this. I have no strong opinion either way. OK to commit. Iain.