@gmail.com
Subject: Re: [PATCH] RISC-V: Add vwadd.wv/vwsub.wv auto-vectorization lowering
optimization
On 5/31/23 21:48, juzhe.zh...@rivai.ai wrote:
> From: Juzhe-Zhong
>
> 1. This patch optimize the codegen of the following auto-vectorization codes:
>
> void foo (int32_t
On 5/31/23 21:48, juzhe.zh...@rivai.ai wrote:
From: Juzhe-Zhong
1. This patch optimize the codegen of the following auto-vectorization codes:
void foo (int32_t * __restrict a, int64_t * __restrict b, int64_t * __restrict
c, int n)
{
for (int i = 0; i < n; i++)
c[i] = (int64_t)a
From: Juzhe-Zhong
1. This patch optimize the codegen of the following auto-vectorization codes:
void foo (int32_t * __restrict a, int64_t * __restrict b, int64_t * __restrict
c, int n)
{
for (int i = 0; i < n; i++)
c[i] = (int64_t)a[i] + b[i];
}
Combine instruction from:
...
vsext.v