From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24649 invoked from network); 5 Jun 2021 21:17:06 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 5 Jun 2021 21:17:06 -0000 Received: (qmail 18140 invoked by uid 550); 5 Jun 2021 21:17:04 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 18120 invoked from network); 5 Jun 2021 21:17:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1622927811; bh=8NsbnUNCIuQmCLCZns7FkUp/Ujlo+i1/gHGS/eHJbcU=; h=References:In-Reply-To:From:Date:Subject:To:From; b=Epx3NZb/ggyCtfv31Ld9/xS7QYOj+WKtp5+1Km8hq+IVhcjCpkZr89Uoon1kHNEdV UnjdPWoB16hHugpwRWPioj1DWcmAi4bPRx2AdmEZF/UnzDaZP7kpGkGu78aLLVLr0s rZaj7B47hk8HZe3ZyTW204tf8+AkkVd2M3xPPlYHhm48scQytNxtf18DJeVXVqhFqV FvpZFwqdXYdhNr+9VArNI4y+PaoJACKOYpnk2n6G5Tn+PDkR2CqVq/RvrpbGCvlfw2 9jIdJj/UCiA7c707SjnOehuArz0V2oRFwSTpNHp8JGmEJFeTHjboIRk+UamraLqIJh GvisN0eCMHjxQ== X-Gm-Message-State: AOAM530aVEjmsNPzIWINUliXKHs2sBtL7Rlr8rcHT6tQ7+G79tnB8Ju7 Nh3OVf9L4s49sCK8ywQ+8a652QAI7qWSRcR5um8= X-Google-Smtp-Source: ABdhPJxsoaYfNdfwJUCHas23SCeOv+KFYfX4W9WqNbMh+biG4epwPOymXPvj5fEpabhHOET6IR4KfgYIGHophOtb2xM= X-Received: by 2002:a1c:7d15:: with SMTP id y21mr9498386wmc.120.1622927809819; Sat, 05 Jun 2021 14:16:49 -0700 (PDT) MIME-Version: 1.0 References: <20210605171216.GA7558@brightrain.aerifal.cx> In-Reply-To: <20210605171216.GA7558@brightrain.aerifal.cx> From: Arnd Bergmann Date: Sat, 5 Jun 2021 23:15:04 +0200 X-Gmail-Original-Message-ID: Message-ID: To: musl@lists.openwall.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [musl] Adding PowerPC SPE support On Sat, Jun 5, 2021 at 7:12 PM Rich Felker wrote: > > When the soft-float ABI for PowerPC was added in 2016 (commit > 5a92dd95c77cee81755f1a441ae0b71e3ae2bcdb, mail thread "[PATCH v3] Add > PowerPC soft-float support") with Freescale cpus having the > alternative SPE FPU as the main use case, I noted that we could > probably support hard float on them, but that it would involve > determining some difficult ABI constraints. I'm now revisiting adding > this support. Note that regardless of the technical issues, there is a practical problem in the long run, since gcc-8.5 was the last release with powerpcspe support, and at some point in the future everyone will move to gcc-9 or higher. The last e500/e500v2 based SoCs are now ten years old, and are listed as available until 2025 but also "not recommended for new designs". Linux kernel support for these has been marked as "odd fixes" instead of "maintained" since early 2020, but in practice this has been the case for much longer. If I remember correctly, someone mentioned using musl on bare metal e200 based microcontrollers, which is more interesting for powerpcspe support than Linux user space, but this requires additional patches already. Arnd