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: [rs6000] Enable scalar shifts of vectors


From: Richard Henderson <rth@redhat.com>
Date: Wed, 12 Oct 2011 15:49:28 -0700

> Ok, if I read the rtl correctly, you can perform a vector shift,
> where each shift count comes from the corresponding element of op2.
> But VIS has no vector shift where the shift count comes from a
> single scalar (immediate or register)?

That's correct.

> If so, please rename this pattern to the "v<shift_pat_name><mode>3"
> form and I'll work on more middle-end support for re-use of the
> v<shift_pat_name> optab.

Will do, thanks Richard.


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