This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Altivec ABI as default for powerpc64 linux
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Geoff Keating <geoffk at geoffk dot org>
- Cc: "Hartmut Penner" <HPENNER at de dot ibm dot com>, Alan Modra <amodra at bigpond dot net dot au>, gcc-patches at gcc dot gnu dot org, dje at watson dot ibm dot com
- Date: Mon, 2 Feb 2004 17:51:13 +0100
- Subject: Re: [Patch] Altivec ABI as default for powerpc64 linux
- References: <OFD9F832EE.F6CB723A-ONC1256E2B.0035AC31-C1256E2B.003789DA@de.ibm.com> <jm65ethums.fsf@desire.geoffk.org>
It's not set as the default because the default linux64 processor is a
630, which (as far as I know) doesn't have Altivec. Perhaps someone
should change that, if linux64 is going to require Altivec.
We're not proposing to enable -maltivec by default, just -mabi=altivec,
so we only have to support one ABI. If you don't pass -maltivec, no
AltiVec insns will be used, and so no vector regs will be used; vectors
of a size that would be a nice fit for an AltiVec reg will just have to
be passed like any other strange-size vector.
I don't know if this actually works right now, nor if people agree
with me :-)
Segher