Hi!

On Tue, Feb 25, 2020 at 04:53:17PM +0000, GT wrote:
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Sunday, February 23, 2020 11:45 AM, Bill Schmidt <wschm...@linux.ibm.com> 
> wrote:
> > As I just wrote on gcc-patches, we should disable libmvec for powerpc64.
> > The vector ABI as written isn't compatible with ELFv1.  We would need
> > a modified ABI that doesn't allow homogeneous aggregates of vectors to
> > be returned in registers in order to support ELFv1.  I do not believe
> > that is worth pursuing until and unless there is demand for it (which
> > I do not expect).
> 
> Are we all agreed that the POWER Vector Function ABI will be implemented only
> for powerpc64le?

I do not agree.

I don't agree we should have a new ABI, and an API (which this *is* as
far as I can tell) works fine on *any* ABI.  Homogeneous aggregates has
nothing to do with anything either.

It is fine to only *support* powerpc64le-linux, sure.  But don't fragment
the implementation, it only hurts, never helps -- we will end up having
to support ten or twenty different compilers, instead of one compiler
with a few (mostly) orthogonal variations.  And yes, we should also test
everything everywhere, whenever reasonable.

For the glibc side I have no opinion.


Segher

Reply via email to