mailing list of musl libc
 help / color / mirror / code / Atom feed
From: "A. Wilcox" <awilfox@adelielinux.org>
To: musl@lists.openwall.com
Subject: Re: [PATCH] powerpc64le: Add single instruction math functions
Date: Fri, 23 Jun 2017 22:38:46 -0500	[thread overview]
Message-ID: <594DDEC6.8030200@adelielinux.org> (raw)
In-Reply-To: <CAGWvnykcRhDJ7gyRADxAE2-F7ww5oifrUhvFS3=g69U7kaZ5=A@mail.gmail.com>

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


  parent reply	other threads:[~2017-06-24  3:38 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-21 14:53 David Edelsohn
2017-06-23 19:35 ` Rich Felker
2017-06-23 19:53   ` David Edelsohn
2017-06-24  0:46     ` A. Wilcox
2017-06-24  0:55       ` Rich Felker
2017-06-24  3:05       ` David Edelsohn
2017-06-24  3:32         ` Rich Felker
2017-06-24  3:38         ` A. Wilcox [this message]
2017-06-24 20:53           ` David Edelsohn
2017-06-24 22:44             ` Rich Felker
2017-06-24 23:57             ` A. Wilcox
2017-06-25  0:10               ` Rich Felker
2017-06-25  1:41                 ` Rich Felker
2017-06-29 13:49                 ` David Edelsohn
2017-06-29 16:05                   ` Rich Felker
2017-06-29 17:00                     ` David Edelsohn
2017-06-29 17:59                       ` Rich Felker
2017-06-30  1:07                         ` David Edelsohn
2017-06-30  2:11                           ` Rich Felker
2017-06-25  3:24               ` David Edelsohn
2017-06-25 14:28                 ` Rich Felker
2017-06-25 14:56                   ` David Edelsohn
2018-09-27 22:53                   ` A. Wilcox

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=594DDEC6.8030200@adelielinux.org \
    --to=awilfox@adelielinux.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).