This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][RFC] Allow element-size vector shifts of float vectors


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]