This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][RFC] Allow element-size vector shifts of float vectors
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 29 Apr 2009 20:04:41 +0200 (CEST)
- Subject: Re: [PATCH][RFC] Allow element-size vector shifts of float vectors
- References: <alpine.LNX.2.00.0904291709200.25789@zhemvz.fhfr.qr>
On Wed, 29 Apr 2009, Richard Guenther wrote:
>
> On ppc fast-math-vect-reduc-5.c for example ICEs with
>
> fast-math-vect-reduc-5.c:13: error: type mismatch in vector shift
> expression
> vector float
> vector float
> unsigned int
> vect_var_.61_95 = vect_var_.59_94 v>> 64;
>
> in general vector shifts of floating point vectors do not make sense.
> In absence of any generic tree level vector permutation / extraction
> machinery the following patch allows these shifts if the shifting
> amount results in a permutation of the elements.
>
> Bootstrap and regtest in progress.
Committed as rev 146983.
Richard.