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


On Tue, Nov 16, 2010 at 12:23 PM, Ira Rosen <IRAR@il.ibm.com> wrote:
>
>
> 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.
>

Might just be that we don't support this yet, though I do remember a
patch from earlier this year. I can't remember how this changed over
time.

http://gcc.gnu.org/ml/gcc-patches/2010-02/msg00462.html


Ramana




> Thanks,
> Ira
>
>>
>> Thanks,
>> Tejas.
>>
>>
>>
>>
>
>


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