RE: [PATCH V6] VECT: Apply LEN_MASK_{LOAD,STORE} into vectorizer

2023-06-23 Thread Li, Pan2 via Gcc-patches
Subject: Re: [PATCH V6] VECT: Apply LEN_MASK_{LOAD,STORE} into vectorizer On 23 June 2023 10:03:45 CEST, Richard Sandiford wrote: >> Fuse the block below into the one above as the condition seems to be >> identical? > >Yeah, true, but I think the idea is that the code above “Ar

Re: [PATCH V6] VECT: Apply LEN_MASK_{LOAD,STORE} into vectorizer

2023-06-23 Thread Bernhard Reutner-Fischer via Gcc-patches
On 23 June 2023 10:03:45 CEST, Richard Sandiford wrote: >> Fuse the block below into the one above as the condition seems to be >> identical? > >Yeah, true, but I think the idea is that the code above “Arguments are >ready” is calculating argument values, and the code after it is creating

Re: Re: [PATCH V6] VECT: Apply LEN_MASK_{LOAD,STORE} into vectorizer

2023-06-23 Thread 钟居哲
-06-23 16:03 To: Bernhard Reutner-Fischer CC: juzhe.zhong; gcc-patches; rguenther Subject: Re: [PATCH V6] VECT: Apply LEN_MASK_{LOAD,STORE} into vectorizer Bernhard Reutner-Fischer writes: > On 23 June 2023 01:51:12 CEST, juzhe.zh...@rivai.ai wrote: >>From: Ju-Zhe Zhong > > I am sorr

Re: Re: [PATCH V6] VECT: Apply LEN_MASK_{LOAD,STORE} into vectorizer

2023-06-23 Thread 钟居哲
] VECT: Apply LEN_MASK_{LOAD,STORE} into vectorizer juzhe.zh...@rivai.ai writes: > From: Ju-Zhe Zhong > > Address comments from Richard and Bernhard from V5 patch. > V6 fixed all issues according their comments. > > gcc/ChangeLog: > > * internal-fn.cc (expand_partia

Re: [PATCH V6] VECT: Apply LEN_MASK_{LOAD,STORE} into vectorizer

2023-06-23 Thread Richard Sandiford via Gcc-patches
juzhe.zh...@rivai.ai writes: > From: Ju-Zhe Zhong > > Address comments from Richard and Bernhard from V5 patch. > V6 fixed all issues according their comments. > > gcc/ChangeLog: > > * internal-fn.cc (expand_partial_store_optab_fn): Adapt for > LEN_MASK_STORE. >

Re: [PATCH V6] VECT: Apply LEN_MASK_{LOAD,STORE} into vectorizer

2023-06-23 Thread Richard Sandiford via Gcc-patches
Bernhard Reutner-Fischer writes: > On 23 June 2023 01:51:12 CEST, juzhe.zh...@rivai.ai wrote: >>From: Ju-Zhe Zhong > > I am sorry but I somehow overlooked a trivial spot in V5. > Nit which does not warrant an immediate next version, but please consider it > before pushing iff approved: > >>+

Re: [PATCH V6] VECT: Apply LEN_MASK_{LOAD,STORE} into vectorizer

2023-06-23 Thread Bernhard Reutner-Fischer via Gcc-patches
On 23 June 2023 01:51:12 CEST, juzhe.zh...@rivai.ai wrote: >From: Ju-Zhe Zhong I am sorry but I somehow overlooked a trivial spot in V5. Nit which does not warrant an immediate next version, but please consider it before pushing iff approved: >+if (final_len) >+ { >+

[PATCH V6] VECT: Apply LEN_MASK_{LOAD,STORE} into vectorizer

2023-06-22 Thread juzhe . zhong
From: Ju-Zhe Zhong Address comments from Richard and Bernhard from V5 patch. V6 fixed all issues according their comments. gcc/ChangeLog: * internal-fn.cc (expand_partial_store_optab_fn): Adapt for LEN_MASK_STORE. (internal_load_fn_p): Add LEN_MASK_LOAD.