Richard Biener writes:
> On Fri, 11 Aug 2023, juzhe.zh...@rivai.ai wrote:
>
>> Hi, Richi.
>>
>> > 1. Target is using loop MASK as the partial vector loop control.
>> >> I don't think it checks for this?
>>
>> I am not sure whether I understand EXTRACT_LAST correctly.
>> But if target doesn't use
recorded in the end.
Richard.
> Thanks.
>
>
> juzhe.zh...@rivai.ai
>
> From: Richard Biener
> Date: 2023-08-11 19:10
> To: juzhe.zh...@rivai.ai
> CC: gcc-patches; richard.sandiford; linkw; krebbel
> Subject: Re: Re: [PATCH V3] VECT: Support loop len control on EXT
>1, vectype, NULL);
> else
check here the target supports VEC_EXTRACT
> vect_record_loop_len (loop_vinfo,
> &LOOP_VINFO_LENS (loop_vinfo),
>
1, vectype, NULL);
> else
check here the target supports VEC_EXTRACT
> vect_record_loop_len (loop_vinfo,
> &LOOP_VINFO_LENS (loop_vinfo),
> 1, vectype,
loop_vinfo,
&LOOP_VINFO_LENS (loop_vinfo),
1, vectype, 1);
}
Thanks.
juzhe.zh...@rivai.ai
From: Richard Biener
Date: 2023-08-11 18:21
To: juzhe.zh...@rivai.ai
CC: gcc-patches; richard.sandiford; linkw; kr
d a loop len. Just in this case this particular order would
be important.
> >> can we double-check this on powerpc and s390?
>
> Sure, I hope it can be beneficial to powerpc and s390.
> And, I think Richard's comments are also very important so I am gonna wait
> for i
ches; richard.sandiford; linkw; krebbel
Subject: Re: [PATCH V3] VECT: Support loop len control on EXTRACT_LAST
vectorization
On Fri, 11 Aug 2023, juzhe.zh...@rivai.ai wrote:
> From: Ju-Zhe Zhong
>
> Hi, Richard and Richi.
>
> This patch add support live vectorization by VEC_EXTRACT f
On Fri, 11 Aug 2023, juzhe.zh...@rivai.ai wrote:
> From: Ju-Zhe Zhong
>
> Hi, Richard and Richi.
>
> This patch add support live vectorization by VEC_EXTRACT for LEN loop control.
>
> Consider this following case:
>
> #include
>
> #define EXTRACT_LAST(TYPE)\
> TYPE __a