From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 1FE6DC77B73 for ; Tue, 6 Jun 2023 17:20:32 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4QbHL63Q9Lz3f8s for ; Wed, 7 Jun 2023 03:20:30 +1000 (AEST) Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=mentor.com (client-ip=68.232.141.98; helo=esa2.mentor.iphmx.com; envelope-from=joseph_myers@mentor.com; receiver=) X-Greylist: delayed 63 seconds by postgrey-1.36 at boromir; Wed, 07 Jun 2023 03:20:00 AEST Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4QbHKX6vrpz3blS for ; Wed, 7 Jun 2023 03:20:00 +1000 (AEST) X-IronPort-AV: E=Sophos;i="6.00,221,1681200000"; d="scan'208";a="8982264" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 06 Jun 2023 09:18:52 -0800 IronPort-SDR: WaDFQSCeIUx5yP0ZEaCfRHB8w5dJotp+BMYNHVqwEj/E6mfGSoC9KKuyaAjTDjI8+gLMMb2Zgi 83Fm9azaOuOD0G50wGE9H4uMAIIabl57hUAJsAzAB2v7Xms5LEoy8pchYSwIQWvRFK6mbIxSMB LloFVbOw053McNcNRPgM3lX7+impBX1jrmzPDe6zTm5/2FyQsFOZlyoC7ZOODU20YEDY+56EER csvyuFiLfnc7x4F27Ml3XU3b3ekVikl8bv3EFmU8eHFgH4SNFatsmAhWrMScqJsKYvlN3/p5DG mWc= Date: Tue, 6 Jun 2023 17:18:47 +0000 From: Joseph Myers To: Andrew Pinski Subject: Re: Passing the complex args in the GPR's In-Reply-To: Message-ID: References: <20220524093828.505575-1-npiggin@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) To svr-ies-mbx-10.mgc.mentorg.com (139.181.222.10) X-BeenThere: linuxppc-dev@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: gcc@gcc.gnu.org, libc-alpha@sourceware.org, Umesh Kalappa , Nicholas Piggin , Paul E Murphy , linuxppc-dev@lists.ozlabs.org Errors-To: linuxppc-dev-bounces+linuxppc-dev=archiver.kernel.org@lists.ozlabs.org Sender: "Linuxppc-dev" On Tue, 6 Jun 2023, Andrew Pinski via Gcc wrote: > You are looking at the wrong ABI document. > That is for the 64bit ABI. > The 32bit ABI document is located at: > http://refspecs.linux-foundation.org/elf/elfspec_ppc.pdf > > Plus the 32bit ABI document does not document Complex argument passing > as it was written in 1995 and never updated. For the 32-bit ABI see https://www.polyomino.org.uk/publications/2011/Power-Arch-32-bit-ABI-supp-1.0-Unified.pdf (sources at https://github.com/ryanarn/powerabi - power.org has long since disappeared). -- Joseph S. Myers joseph@codesourcery.com