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

2023-07-04 Thread Richard Biener via Gcc-patches
IFN which could add a dummy -1 mask or a dummy len and handle partial vectors. Richard. > Thanks. > > > juzhe.zh...@rivai.ai > > From: Richard Biener > Date: 2023-07-04 19:17 > To: juzhe.zh...@rivai.ai > CC: gcc-patches; richard.sandiford > Subject: Re: Re:

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

2023-07-04 Thread juzhe.zh...@rivai.ai
pport len_mask_gather_load in RISC-V port? Thanks. juzhe.zh...@rivai.ai From: Richard Biener Date: 2023-07-04 19:17 To: juzhe.zh...@rivai.ai CC: gcc-patches; richard.sandiford Subject: Re: Re: [PATCH V3] VECT: Apply LEN_MASK_GATHER_LOAD/SCATTER_STORE into vectorizer On Tue, 4 Jul 2023, juzhe.zh...@rivai.ai

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

2023-07-04 Thread Richard Biener via Gcc-patches
return nargs == 4 ? -1 : nargs == 5 ? 4 : 6; > > default: > return (conditional_internal_fn_code (fn) != ERROR_MARK > || get_unconditional_internal_fn (fn) != IFN_LAST ? 0 : -1); > } > } > > > Thanks. > > > juzhe.zh...@rivai

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

2023-07-04 Thread juzhe.zh...@rivai.ai
urn (conditional_internal_fn_code (fn) != ERROR_MARK || get_unconditional_internal_fn (fn) != IFN_LAST ? 0 : -1); } } Thanks. juzhe.zh...@rivai.ai From: Richard Biener Date: 2023-07-04 19:05 To: Ju-Zhe Zhong CC: gcc-patches; richard.sandiford Subject: Re: [PATCH V3] VECT: Apply

Re: [PATCH V3] 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. > > Address comments from Richard. > > Make gs_info.ifn = LEN_MASK_GATHER_LOAD/LEN_MASK_SCATTER_STORE. > > Since: > /* LEN_MASK_GATHER_LOAD/LEN_MASK_SCATTER_STORE are different >on argu

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

2023-07-04 Thread juzhe.zh...@rivai.ai
Oh. Sorry for incorrect typo in commit log. >> Address comments from Richard. Change it into "Address comments from Richi." :). Thanks. juzhe.zh...@rivai.ai From: juzhe.zhong Date: 2023-07-04 17:54 To: gcc-patches CC: richard.sandiford; rguenther; Ju-Zhe Zhong Subject: [PATCH V3] VECT: Apply