Re: [PATCH 2/4] RISC-V: Add interleave pattern.

2024-11-18 Thread 钟居哲
kito.cheng; juzhe.zhong; jeffreyalaw; pan2.li; rdapp.gcc Subject: [PATCH 2/4] RISC-V: Add interleave pattern. From: Robin Dapp This patch adds efficient handling of interleaving patterns like [0 4 1 5] to vec_perm_const. It is implemented by a slideup and a gather. gcc/ChangeLog: * config/r

[PATCH 2/4] RISC-V: Add interleave pattern.

2024-11-17 Thread Robin Dapp
From: Robin Dapp This patch adds efficient handling of interleaving patterns like [0 4 1 5] to vec_perm_const. It is implemented by a slideup and a gather. gcc/ChangeLog: * config/riscv/riscv-v.cc (shuffle_interleave_patterns): New function. (expand_vec_perm_const_1): U