[Bug tree-optimization/50596] Problems in vectorization of condition expression
rguenther at suse dot de
gcc-bugzilla@gcc.gnu.org
Tue Oct 4 11:29:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596
--- Comment #7 from rguenther at suse dot de <rguenther at suse dot de> 2011-10-04 11:28:18 UTC ---
On Tue, 4 Oct 2011, jakub at gcc dot gnu.org wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50596
>
> --- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2011-10-04 11:13:58 UTC ---
> (In reply to comment #4)
> > I agree with the need to at least support vectorizing loads and stores of
> > 1-bit unsigned precision values. We need to be careful with arithmetic
> > and conversions though (which is why we reject bools right now).
>
> We could represent the arithmetic and conversions (or at least subset thereof)
> using *COND_EXPRs etc. In any case, the bool representation is desirable for
> the scalar loop, so this isn't something we should be doing in ifcvt, it needs
> to be done in the vectorizer itself.
Oh, and we don't handle expanding N-bit precision arithmetic on
vector types properly - for scalars we do the necessary truncation
at RTL expansion time. So I think we should give up for that case
for now.
More information about the Gcc-bugs
mailing list