On 9/16/25 08:21, Raphael Moreira Zinsly wrote:
Changes since v1:
- Fixed permutations with two pivots and repeated elements.
-- >8 --
Improve shuffle_slide_patterns to better recognize permutations that
can be constructed by a slideup or slidedown, covering more cases:
Slideup one v
Changes since v1:
- Fixed permutations with two pivots and repeated elements.
-- >8 --
Improve shuffle_slide_patterns to better recognize permutations that
can be constructed by a slideup or slidedown, covering more cases:
Slideup one vector into the middle the other like
{0, 4, 5, 3}.
OK
juzhe.zh...@rivai.ai
From: Raphael Zinsly
Date: 2025-09-16 02:34
To: 钟居哲
CC: gcc-patches; kito.cheng; Robin Dapp; jeffreyalaw
Subject: Re: RISC-V: Improve slide patterns recognition
On Sun, Sep 14, 2025 at 11:12 PM 钟居哲 wrote:
>
> +/* Recognize patterns like [4 5 6 7 12 13 14 15] w
+/* Recognize patterns like [4 5 6 7 12 13 14 15] where a consecutive part of a
+ vector is combined into another. */
Is it better to use vcompress to combine such pattern ?
[4 5 6 7 x x x x]
[x x x x 12 13 14 15]
combine them use a single vcompress.vvm instruction ?
juzhe.zh...@rivai.ai
On 9/12/25 3:35 PM, Raphael Moreira Zinsly wrote:
Improve shuffle_slide_patterns to better recognize permutations that
can be constructed by a slideup or slidedown, covering more cases:
Slideup one vector into the middle the other like
{0, 4, 5, 3}.
Slidedown one vector not ending in the la