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 last element like
{5, 6, 2, 3}.
Slidedown one vector fro
On Tue, Sep 16, 2025 at 12:39 PM Jeff Law wrote:
> just a follow-up. rv32 passes with this version in my tester.
>
> Given Juzhe has acked and Robin reviewed it internally. I think this is
> good to go once pre-commit CI is done.
> Jeff
Thanks, pushed as b71ff5184a6216bfc997ada706c89b2f585a7e66
On Sun, Sep 14, 2025 at 11:12 PM 钟居哲 wrote:
>
> +/* 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 u
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