Re: [PATCH] RISC-V: Recognize stepped series in expand_vec_perm_const.

2023-12-10 Thread Robin Dapp
On 12/11/23 03:09, juzhe.zh...@rivai.ai wrote: > + if (shuffle_series (d)) > + return true; > > > Could you rename it into shuffle_series_patterns ? > > Just to make naming consistent. Done, going to push with that change in a while. Regards Robin

Re: [PATCH] RISC-V: Recognize stepped series in expand_vec_perm_const.

2023-12-10 Thread juzhe.zh...@rivai.ai
Subject: [PATCH] RISC-V: Recognize stepped series in expand_vec_perm_const. Hi, we currently try to recognize various forms of stepped (const_vector) sequence variants in expand_const_vector. Because of complications with canonicalization and encoding it is easier to identify such patterns in

Re: [PATCH] RISC-V: Recognize stepped series in expand_vec_perm_const.

2023-12-09 Thread 钟居哲
It's more reasonable to fix it in vec_perm_const instead of fix it in middle-end. LGTM. juzhe.zh...@rivai.ai From: Robin Dapp Date: 2023-12-09 21:18 To: gcc-patches; palmer; Kito Cheng; jeffreyalaw; juzhe.zh...@rivai.ai CC: rdapp.gcc Subject: [PATCH] RISC-V: Recognize stepped seri

[PATCH] RISC-V: Recognize stepped series in expand_vec_perm_const.

2023-12-09 Thread Robin Dapp
Hi, we currently try to recognize various forms of stepped (const_vector) sequence variants in expand_const_vector. Because of complications with canonicalization and encoding it is easier to identify such patterns in expand_vec_perm_const_1 already where perm.series_p () is available. This patc