Re: Re: [PATCH V2] VECT: Apply LEN_MASK_GATHER_LOAD/SCATTER_STORE into vectorizer

2023-07-04 Thread juzhe.zh...@rivai.ai
: Apply LEN_MASK_GATHER_LOAD/SCATTER_STORE into vectorizer On Tue, 4 Jul 2023, juzhe.zh...@rivai.ai wrote: > From: Ju-Zhe Zhong > > Hi, Richard and Richi. > > The len_mask_gather_load/len_mask_scatter_store patterns have been added. > Now, this patch applies them into vector

Re: [PATCH V2] VECT: Apply LEN_MASK_GATHER_LOAD/SCATTER_STORE into vectorizer

2023-07-04 Thread Richard Biener via Gcc-patches
On Tue, 4 Jul 2023, juzhe.zh...@rivai.ai wrote: > From: Ju-Zhe Zhong > > Hi, Richard and Richi. > > The len_mask_gather_load/len_mask_scatter_store patterns have been added. > Now, this patch applies them into vectorizer. > > Here is the example: > > void > f (int *restrict a, >int *restr

[PATCH V2] VECT: Apply LEN_MASK_GATHER_LOAD/SCATTER_STORE into vectorizer

2023-07-04 Thread juzhe . zhong
From: Ju-Zhe Zhong Hi, Richard and Richi. The len_mask_gather_load/len_mask_scatter_store patterns have been added. Now, this patch applies them into vectorizer. Here is the example: void f (int *restrict a, int *restrict b, int n, int base, int step, int *restrict cond) { for (int