From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by sourceware.org (Postfix) with ESMTPS id 2007A3858D28 for ; Sat, 6 May 2023 09:16:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2007A3858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=flygoat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=flygoat.com Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 2D7CD3200978; Sat, 6 May 2023 05:16:10 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Sat, 06 May 2023 05:16:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=flygoat.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1683364569; x=1683450969; bh=zC0qAjvKlIUT52OjTURBXUcvHYDNfUmng7Z RGOiVRPk=; b=jYaX0mmaz5Xjh31U17ssp+o+vk2jlx7EzPBmnt+/csOqulkA1QF PaLKpzbFz6DnTBrokNqKYNNUKS+TZRlmJKlCnIbA5gEv41rFhTz/AzpgC9qPVovG 2D8XcMo6Uz6TeCdYMna8eaGnVM7O7fGntN57uYaExoyeWKWmrKM+YiZb/DTS4eIT e9McrNoOubuyJnDszvcfthvDhsKHtt1KEIJN8AsvM255sCzY4MEdmKwr3PhQLKOd sTi7j5RUJBGYTLU9Yh6/TJPuIIWUVYqcyUCuUj4T5hHiFcb/fHJmaUd1fVPhHHph bwdKhyH5+4xji+F4LxUtNEX6tNOG6/PZHEw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1683364569; x=1683450969; bh=zC0qAjvKlIUT52OjTURBXUcvHYDNfUmng7Z RGOiVRPk=; b=EqLDi6Ajdkw3a99j3X2mqul0fKz1wbgu5nNgyq8KCBNYNHTJ3J3 wr0y/P3oJSXxyBKPluLgK0PF0somNOA4w9Shjf9dlscebbMiQu5ud1+GriDEJ2HW CGf9fDrPyVxOJmIbK99YYgyTnkdMLxHNGVFVgJcyaBMHpZ6A26vXv6+W5GePV5h/ LxCPeKd2qpgx/U0glzS1MxZqEiZODVbrwn2RMgqZ8zzoNrPWzIueqyNTozIoumib ziQmmfZSsPiRulBlxYiJ/8ivH1plbJI+imkxU41V9A0jOe3AsEBuBBtU766bqDgP nV0cUqIoRu+xHu5Or5KQEWFd7X0rbIbnDmQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeeffedgudegfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpegtggfuhfgjffevgffkfhfvofesthhqmhdthhdtjeenucfhrhhomheplfhi rgiguhhnucgjrghnghcuoehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhmqe enucggtffrrghtthgvrhhnpedutdejffetteefkeejieehfeeuieeguedtveeijeeviefh ffelvdfgudeihfdvtdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehjihgrgihunhdrhigrnhhgsehflhihghhorghtrdgtohhm X-ME-Proxy: Feedback-ID: ifd894703:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 6 May 2023 05:16:08 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.500.231\)) Subject: Re: [PATCH] MIPS: gas: alter 64 or 32 for r6 triples if march is implicit From: Jiaxun Yang In-Reply-To: Date: Sat, 6 May 2023 10:15:57 +0100 Cc: YunQiang Su , Binutils , "Maciej W. Rozycki" , Xi Ruoyao , richard.sandiford@arm.com Content-Transfer-Encoding: quoted-printable Message-Id: <4321CE4B-49C3-48D8-8263-1C140C8651E0@flygoat.com> References: <20230506083718.3669965-1-yunqiang.su@cipunited.com> <76C4F9A0-BE4B-444A-BC6E-04364EF8C268@flygoat.com> To: YunQiang Su X-Mailer: Apple Mail (2.3731.500.231) X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,BODY_8BITS,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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: > 2023=E5=B9=B45=E6=9C=886=E6=97=A5 09:52=EF=BC=8CYunQiang Su = =E5=86=99=E9=81=93=EF=BC=9A >=20 > Jiaxun Yang =E4=BA=8E2023=E5=B9=B45=E6=9C=886=E6= =97=A5=E5=91=A8=E5=85=AD 16:43=E5=86=99=E9=81=93=EF=BC=9A >>=20 >>=20 >>=20 >>> 2023=E5=B9=B45=E6=9C=886=E6=97=A5 09:37=EF=BC=8CYunQiang Su = =E5=86=99=E9=81=93=EF=BC=9A >>>=20 >>> When configure with triples mipsisa[32,64]r6[el,], the march value >>> is pinned to a fix value if not given explicitly. for example >>> mipsisa32r6-linux-gnu -n32 xx.s >>> will complains that: >>> -march=3Dmips32r6 is not compatible with the selected ABI >>>=20 >>> Since we are using these triples as a regular linux distributions, >>> let's alter march according to ABI. >>=20 >> Hi, >>=20 >> Hmm, why people wants to build n32 binary on mips32r6 CPU? >=20 > I guess o32 toolchain should not work only for 32bit CPU? In this case people should override -march option themself, not rely on = random toolchain hacks, since it=E2=80=99s not determinant from user=E2=80=99s = perspective what =E2=80=9Cfallback=E2=80=9D march it will be, especially in case the toolchain is not designed for = base ISA. >=20 > At seem time, this patch can solve some testcases in binutils-all > when configured with > --target=3Dmipsisa32r6-linux-gnu I think we=E2=80=99d better fix the test case. Thanks Jiaxun