This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RS6000/PowerPC -mpaired
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Alan Lawrence <alan dot lawrence at foss dot arm dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 6 Jan 2016 04:47:59 -0600
- Subject: Re: RS6000/PowerPC -mpaired
- Authentication-results: sourceware.org; auth=none
- References: <568C00D3 dot 9030905 at foss dot arm dot com>
On Tue, Jan 05, 2016 at 05:43:47PM +0000, Alan Lawrence wrote:
> Can anyone give me any pointers on how to use the -mpaired option ("PowerPC
> 750CL paired-single instructions") ?
Configure your compiler with --target=powerpc-elf-paired, maybe add
--with-cpu=750 ?
> I'm trying to get it to use the
> reduc_s{min,max,plus}_v2sf patterns in gcc/config/rs6000/paired.md, so far
> I haven't managed to find a configuration that supports loading a vector of
> floats but that doesn't also have superior altivec/v4sf support...
There are no processors with both paired and altivec.
Segher