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] Fix vectorizer testsuite failures, including PR 46312



Tejas Belagod <tejas.belagod@arm.com> wrote on 16/11/2010 01:01:35 PM:

> On Mon, 2010-11-15 at 14:02 +0200, Ira Rosen wrote:
> > Hi,
> >
> > vect-scal-opt*.c check vector shift with scalar shift argument. So I
added
> > vect_shift_scalar keyword for them. I only put x86_64-*-* there. What
other
> > targets support such shifts?
>
> Ira,
>
> ARM-NEON supports vector shift left and right with a scalar immediate.
>
> VSH{R/L}.{S/U}{8/16/32/64} {Q/D}, {Q/D}, #imm

But it doesn't work here, I see shift with vector arg:

v2_13 = {k.1_12, k.1_12, k.1_12, k.1_12, k.1_12, k.1_12, k.1_12, k.1_12};
r1.2_14 = v0_4 >> v2_13;

I used -O -fdump-tree-veclower  -mfpu=neon -ffast-math -mfloat-abi=softfp.

Thanks,
Ira

>
> Thanks,
> Tejas.
>
>
>
>


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