Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 23 Jun 2017 22:38:46 -0500
From: "A. Wilcox" <awilfox@...lielinux.org>
To: musl@...ts.openwall.com
Subject: Re: [PATCH] powerpc64le: Add single instruction math functions

-----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-----

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.