From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.2 Received: from mother.openwall.net (mother.openwall.net [195.42.179.200]) by inbox.vuxu.org (OpenSMTPD) with SMTP id f6ff19e4 for ; Mon, 3 Feb 2020 16:04:17 +0000 (UTC) Received: (qmail 1322 invoked by uid 550); 3 Feb 2020 16:04:15 -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 1298 invoked from network); 3 Feb 2020 16:04:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:content-transfer-encoding; bh=FhHrxTYiN/97myqCcTMkW0G+wU54RyO1SBCca31ACbQ=; b=JSgjGmJJhSL0wUtxl+jbaBFdADsDcbxkdAmuDIMlTM3LXPL9+tsByuaAvHYNWnoNFx yPhri+03EMwwYvIzHPPQZ8jN45kJrrwO4bc2w35vgPsgQfvetcHcjV90qzUpNnO416AB u1686Q4al6Cl4eBk7QCQtxWTjTEavx6GbnrQWTcON3OUZlqifySpOOIIH1bXWFisiPOj lVt5HaOi3d5s4IW6IZruhPR3/uEuxILUuQ0YxsutfNLOcuAoDdvWjcrOKqAunVsB7m7L phZWx2reZvHNYSK93uO0J6LBo1+EQjN4LL43OY4NbnMZLCt1U7Gv0o37A5/cVgARVLJS 6tUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:content-transfer-encoding; bh=FhHrxTYiN/97myqCcTMkW0G+wU54RyO1SBCca31ACbQ=; b=kw7G4HBSRJu+v/k4BsN2K1bGOCn8Y+yPysqs5AlQFPqSwMRy8Sw+8MCTWS/j3COIlf 9bbku2FjD4MvoaBw2aBEACGVjGnPtPKRtXRzgdCGReE+uJHGe4GtXtltmeciIeR34+FA nLVFhsHewd0FuZY0nvb12wyMLUeqIdnrlhyv267MFrVmBRRz+DdGpzaGTRbxC8Gvef0T ES8wbDAsdxgiE1C+JGAjPTzKUIcodvL0DXic9pYjlueMrroujEScirEUMITNlqien8Dy OHwsNkfrRlkoJ4MDtZauq0AFaBuwSTgc/C/7WUNRK+byhYqNnSHEopNN1KO3/Gbz0b8I 4xmA== X-Gm-Message-State: APjAAAWWHd4Tmx7SoOwycR43/1V/6mzFi+e6JoC3bQpQ11XOzKumOLQk o58Nnx3UMA8bTBUBImAhZUKUsIDZMI006Wf+lnmcXA== X-Google-Smtp-Source: APXvYqyn4pFdrvsIorXStdcM8yRW5vwcf/m79Gc1K1dfIGhh/8EMdlltTxb/LeOb7w+rWLRRN98QSQOByFtldmDnDLs= X-Received: by 2002:a02:13ca:: with SMTP id 193mr20325043jaz.54.1580745842397; Mon, 03 Feb 2020 08:04:02 -0800 (PST) MIME-Version: 1.0 References: <05c1e691-c0b6-f1af-4850-68670f2d915d@gmail.com> <20200203145030.GP1663@brightrain.aerifal.cx> In-Reply-To: From: Jeffrey Walton Date: Mon, 3 Feb 2020 11:02:44 -0500 Message-ID: To: musl@lists.openwall.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [musl] PPC64(LE) support in musl requires ALTIVEC On Mon, Feb 3, 2020 at 10:43 AM Romain Naour wrote= : > > Le 03/02/2020 =C3=A0 15:50, Rich Felker a =C3=A9crit : > > On Mon, Feb 03, 2020 at 03:16:17PM +0100, Romain Naour wrote: > >> Hi, > >> > >> We noticed that musl toolchain doesn't work on PPC64 e5500 cpus due to > >> Altived instructions in src/setjmp/powerpc64/setjmp.s [1]. > >> > >> A patch has been sent by Vincent Fazio to the Buildroot mailing list t= o disable > >> musl for such cpus [2]. > >> > >> Maybe the supported-platforms list could be updated [3]. > >> > >> [1] https://git.musl-libc.org/cgit/musl/tree/src/setjmp/powerpc64/setj= mp.s#n74 > >> [2] http://patchwork.ozlabs.org/patch/1231986/ > >> [3] https://wiki.musl-libc.org/supported-platforms.html > > > > Is this like the 32-bit Freescale things with the weird alternate FPU? > > Indeed, it seems that the only one ppc64 cpu without Altivec support. I'm not sure if it matters or how it relates here, but I believe IBM compilers (XL C and XL C++) do not allow Altivec until Power5. I think the decision was more policies and procedures, though. Power5 was the first ABI specification from the OpenPower group. Other compilers supported Altivec earlier then Power5. For example, Apple's GCC supported Altivec at least as early as Power3. And I have a PowerMac that is Power4 and Altivec works fine. Jeff