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: [autovect] [patch] vectorize reduction without specialized targetsupport





Richard Henderson <rth@redhat.com> wrote on 15/06/2005 23:22:28:
> On Wed, Jun 15, 2005 at 11:05:54PM +0300, Dorit Naishlos wrote:
> > This scheme requires adding new tree-codes for the vector-shifts. I
> > introduced the simplest vector-shift possible - the shift amount is in
> > bytes, and is a constant (immediate value). This has to potential to be
> > easily expanded to the most efficient code, and be applicable to as
many
> > targets as possible.
>
> One change I'd prefer is that the shift count remain in bits, as with
> any other shift that gcc supports.  I think that's less confusing.
>

ok, I committed this change to autovect, will prepare for mainline.

thanks!

dorit

> (Despite the fact that both SSE and Altivec actually implement that
> shift by encoding the number of bytes into the instruction.)
>
>
> r~


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