RE: [PATCH] RISC-V: Optimize reverse series index vector

2023-06-02 Thread Li, Pan2 via Gcc-patches
@gmail.com Subject: Re: [PATCH] RISC-V: Optimize reverse series index vector LGTM On Fri, Jun 2, 2023 at 2:32 PM wrote: > > From: Juzhe-Zhong > > This patch optimizes the following seriese vector: > [nunits - 1, nunits - 2, , 0] > > Before this patch: > vid >

Re: [PATCH] RISC-V: Optimize reverse series index vector

2023-06-02 Thread Kito Cheng via Gcc-patches
LGTM On Fri, Jun 2, 2023 at 2:32 PM wrote: > > From: Juzhe-Zhong > > This patch optimizes the following seriese vector: > [nunits - 1, nunits - 2, , 0] > > Before this patch: > vid > vmul > vadd > > After this patch: > vid > vrsub > > This patch is an obvious and simple optimization, ok for