From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11587 Path: news.gmane.org!.POSTED!not-for-mail From: "A. Wilcox" Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] powerpc64le: Add single instruction math functions Date: Fri, 23 Jun 2017 22:38:46 -0500 Organization: =?UTF-8?Q?Ad=c3=a9lie_Linux?= Message-ID: <594DDEC6.8030200@adelielinux.org> References: <20170623193533.GO1627@brightrain.aerifal.cx> <594DB66E.7030009@adelielinux.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1498275558 10523 195.159.176.226 (24 Jun 2017 03:39:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Jun 2017 03:39:18 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 To: musl@lists.openwall.com Original-X-From: musl-return-11600-gllmg-musl=m.gmane.org@lists.openwall.com Sat Jun 24 05:39:14 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dObuj-0002Tx-2I for gllmg-musl@m.gmane.org; Sat, 24 Jun 2017 05:39:13 +0200 Original-Received: (qmail 19820 invoked by uid 550); 24 Jun 2017 03:39:16 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 19778 invoked from network); 24 Jun 2017 03:39:15 -0000 X-Enigmail-Draft-Status: N1110 In-Reply-To: Xref: news.gmane.org gmane.linux.lib.musl.general:11587 Archived-At: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 23/06/17 22:05, David Edelsohn wrote: > Note that I only added the optimizations to the "powerpc64" port, > not the "powerpc" port. The powerpc64 port only support PPC64LE > Linux, which does not include PPC970. The comments about emulation > are not relevant to the "powerpc64" port. On 23/06/17 14:35, Rich Felker wrote: > Indeed, musl uses the ELFv2 ABI (minus its gratuitous mandate of > minimum ISA level) for both little and big endian powerpc64, and I > think we have users of both (people running it on old powerbooks, > etc.). These two statements contradict each other. Also, I have made a very minimal big-endian build of musl for the ppc64 architecture, but I haven't had any time to test it. There was never a 64-bit PowerPC laptop that I am aware; the highest spec PowerPC laptop would have been a Daystar with a 32-bit MPC7448. However, IBM, Apple, Tyan, and a few other manufacturers have released big-endian 64-bit PowerPC hardware in both workstation and server form. Let us also not forget that LoPAPR[1] defines (at R1-2.7-1 in my copy, version 1.1 dated 24 March 2016) that Power Architecture platforms "must by default operate with Big-Endian addressing". Are you aware of any little-endian specific code in musl/powerpc64? I assume that libc-test would probably catch most of it when I am able to run it, but until then, it would be nice to know if there is anything I need to work on in the meantime. Best, - --arw [1]: https://da.gd/LoPAPR - -- A. Wilcox (awilfox) Project Lead, Adélie Linux http://adelielinux.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJZTd6cAAoJEMspy1GSK50UAbIP/A7IxGHo1Zc3hEvWKPm233C2 zyk72OGdpJJ0RdLywOq2xR5wVLZSNAahnGVQyX1XN/SHx+QQxlI/VJ+mNJLdi641 UyUW3YkCasgci6+IwarO0xkFX3t1Rs4sMslNWSpSP0Uvffj/TsTkt1JtWzTwoB5y 0z9e+92jSx2HmSDay/TOt5fZghFENHWvpMdf+lJIT+nSKY7dVRZ1le896KR0c/RX +XIv9i7ilKqkBACvOU8T68+muU2uTD/JuuqmXlSwY/6V7gmm0Pi4F+YLYxwvkPFZ VwHvo2Dnei+zvcjEyFGYGjQ4qSXAjYCtYDLjFZLPmabXr3FQ8nJhGQ6hRGIwP6ut hXbZB1JJYefGoyqpMmjYcB2WBfN79McLK431nelru9rfFe+emi7CGCU7w7JTa22+ 4cRHhoHEf+q2OtfC9SB2C4ps2wpazbFU+E9nUYnO6QiTFpY9D3/hNPOno4+SvLwo 3A6ZO43paS4IW/Qaq7BAwD7pyGMSKErwqDlqdKcghkDBA7o54vZb+PANXaYwJ/hh sFxvGmZZvfsGu0FSBcbDzxZn3YjttSVCUzUewLsvOG8l1dVgfPuZ6EuekovHrwh1 OR1GmBd8lTa3C6KeBsZCXmOijYYhZ+NNpkSS8Pv/mPmyxyPTexwwPIH1NbFKEWsC 9Sx4LY7rH2Ww9MdodN4A =K5um -----END PGP SIGNATURE-----