Re: Re: [PATCH] VECT: Apply MASK_LEN_{LOAD_LANES,STORE_LANES} into vectorizer

2023-08-15 Thread Richard Biener via Gcc-patches
> > juzhe.zh...@rivai.ai > > From: Richard Biener > Date: 2023-08-15 19:19 > To: juzhe.zh...@rivai.ai > CC: gcc-patches; richard.sandiford > Subject: Re: Re: [PATCH] VECT: Apply MASK_LEN_{LOAD_LANES,STORE_LANES} into > vectorizer > On Tue, 15 Aug 2023, juzhe.zh..

Re: Re: [PATCH] VECT: Apply MASK_LEN_{LOAD_LANES, STORE_LANES} into vectorizer

2023-08-15 Thread juzhe.zh...@rivai.ai
" here which compute IFN for lanes load/store. Does it reasonable ? Thanks. juzhe.zh...@rivai.ai From: Richard Biener Date: 2023-08-15 19:19 To: juzhe.zh...@rivai.ai CC: gcc-patches; richard.sandiford Subject: Re: Re: [PATCH] VECT: Apply MASK_LEN_{LOAD_LANES,STORE_LANES} into vectorizer On

Re: Re: [PATCH] VECT: Apply MASK_LEN_{LOAD_LANES,STORE_LANES} into vectorizer

2023-08-15 Thread Richard Biener via Gcc-patches
On Tue, 15 Aug 2023, juzhe.zh...@rivai.ai wrote: > Hi, Richi. > > > + if (vect_store_lanes_supported (vectype, group_size, false) > > + == IFN_MASK_LEN_STORE_LANES) > > >> can you use the previously computed 'ifn' here please? > > Do you mean rewrite the codes as follows :? > > int

Re: Re: [PATCH] VECT: Apply MASK_LEN_{LOAD_LANES, STORE_LANES} into vectorizer

2023-08-15 Thread juzhe.zh...@rivai.ai
Hi, Richi. > + if (vect_store_lanes_supported (vectype, group_size, false) > + == IFN_MASK_LEN_STORE_LANES) >> can you use the previously computed 'ifn' here please? Do you mean rewrite the codes as follows :? internal_fn lanes_ifn = vect_store_lanes_supported (vectype, group_si