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

2023-06-20 Thread 钟居哲
iford Subject: Re: [PATCH] VECT: Apply LEN_MASK_{LOAD,STORE} into vectorizer On Tue, 20 Jun 2023, juzhe.zh...@rivai.ai wrote: > From: Ju-Zhe Zhong > > This patch is apply LEN_MASK_{LOAD,STORE} into vectorizer. > I refactor gimple IR build to make codes look cleaner. &

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

2023-06-20 Thread Richard Biener via Gcc-patches
On Tue, 20 Jun 2023, juzhe.zh...@rivai.ai wrote: > From: Ju-Zhe Zhong > > This patch is apply LEN_MASK_{LOAD,STORE} into vectorizer. > I refactor gimple IR build to make codes look cleaner. > > gcc/ChangeLog: > > * internal-fn.cc (expand_partial_store_optab_fn): Add > LEN_MASK_{LOAD,S

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

2023-06-19 Thread juzhe.zh...@rivai.ai
Bootstrap && Regression on X86 no surprise difference. juzhe.zh...@rivai.ai From: juzhe.zhong Date: 2023-06-20 00:17 To: gcc-patches CC: rguenther; richard.sandiford; Ju-Zhe Zhong Subject: [PATCH] VECT: Apply LEN_MASK_{LOAD,STORE} into vectorizer From: Ju-Zhe Zhong This patch is apply LEN_M

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

2023-06-19 Thread 钟居哲
Hi, this patch refactors the codes in tree-vect-stmts.cc in case of gimple IR generation. I realize the codes change too much and I am not sure whether you are happy with it. Originally, the codes are like: if (final_mask) { generate IFN_MASK_LOAD... } else if (loop_len) { generate IF