This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH]: Enable use of AltiVec regs for simd-2.C
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: Hartmut Penner <HPENNER at de dot ibm dot com>
- Cc: dje <dje at watson dot ibm dot com>, gcc-patches at gcc dot gnu dot org, Geoff Keating <geoffk at geoffk dot org>, Segher Boessenkool <BOESSEN at de dot ibm dot com>
- Date: Wed, 11 Feb 2004 11:34:44 -0400
- Subject: Re: [PATCH]: Enable use of AltiVec regs for simd-2.C
- References: <OF30F4C8ED.A712717B-ONC1256E37.0053EBBC-C1256E37.0054FAD4@de.ibm.com>
> > So, on a ppc64-linux system without altivec we can't use vector
> > operations at all? Not even generic simd code?
>
> On ppc64-linux the ABI has included AltiVec, what means if you use
> vectors of type V4SI, V4SF, V8HI or V16QI, this mostly needs AltiVec
> instructions (except varargs). All other types may be used by
> generic simd code. In case you want to use types mentioned above,
> you need to compile with -mabi=no-altivec (and generate non ABI
> conform code).
Eeech... Oh well, y'all get to live with it...
OK everywhere.
Aldy