Re: Re: [PATCH V3] VECT: Add SELECT_VL support

2023-06-07 Thread 钟居哲
; richard.sandiford Subject: Re: Re: [PATCH V3] VECT: Add SELECT_VL support On Wed, 7 Jun 2023, juzhe.zh...@rivai.ai wrote: > Hi, Richi. Since SELECT_VL only apply on single-rgroup (ncopies == 1 && > vec_num == 1) > Should I make SELECT_VL stuff out side the loop? > > for

Re: Re: [PATCH V3] VECT: Add SELECT_VL support

2023-06-07 Thread Richard Biener via Gcc-patches
No, but please put assertions into the iteration so it's obvious the SELECT_VL doesn't reach there. > Thanks. > > > juzhe.zh...@rivai.ai > > From: Richard Biener > Date: 2023-06-07 15:41 > To: Ju-Zhe Zhong > CC: gcc-patches; richard.sandiford > Subject

Re: Re: [PATCH V3] VECT: Add SELECT_VL support

2023-06-07 Thread juzhe.zh...@rivai.ai
: Ju-Zhe Zhong CC: gcc-patches; richard.sandiford Subject: Re: [PATCH V3] VECT: Add SELECT_VL support On Mon, 5 Jun 2023, juzhe.zh...@rivai.ai wrote: > From: Ju-Zhe Zhong > > Co-authored-by: Richard Sandiford > > This patch address comments from Richard and rebase to tru

Re: Re: [PATCH V3] VECT: Add SELECT_VL support

2023-06-07 Thread juzhe.zh...@rivai.ai
ally exactly VF? Yes, we only do the SELECT_VL for single-rgroup, so ncopies should always be 1. For ncopies != 1, we always use VF. Thanks. juzhe.zh...@rivai.ai From: Richard Biener Date: 2023-06-07 15:41 To: Ju-Zhe Zhong CC: gcc-patches; richard.sandiford Subject: Re: [PATCH V3] VECT: Ad

Re: [PATCH V3] VECT: Add SELECT_VL support

2023-06-07 Thread Richard Biener via Gcc-patches
On Mon, 5 Jun 2023, juzhe.zh...@rivai.ai wrote: > From: Ju-Zhe Zhong > > Co-authored-by: Richard Sandiford > > This patch address comments from Richard and rebase to trunk. > > This patch is adding SELECT_VL middle-end support > allow target have target dependent optimization in case of >

回复: Re: [PATCH V3] VECT: Add SELECT_VL support

2023-06-05 Thread juzhe.zh...@rivai.ai
More update, just passed regression on X86. Thanks. juzhe.zh...@rivai.ai 发件人: juzhe.zh...@rivai.ai 发送时间: 2023-06-05 18:40 收件人: 钟居哲; gcc-patches 抄送: richard.sandiford; rguenther 主题: Re: [PATCH V3] VECT: Add SELECT_VL support Hi, Richard and Richi. Thanks for the help. This patch is boostrap

Re: [PATCH V3] VECT: Add SELECT_VL support

2023-06-05 Thread juzhe.zh...@rivai.ai
Hi, Richard and Richi. Thanks for the help. This patch is boostrap PASS. Ok for trunk? juzhe.zh...@rivai.ai From: juzhe.zhong Date: 2023-06-05 18:30 To: gcc-patches CC: richard.sandiford; rguenther; Ju-Zhe Zhong Subject: [PATCH V3] VECT: Add SELECT_VL support From: Ju-Zhe Zhong