[PATCH 0/3] riscv: optimized mem* functions

Bin Meng bmeng.cn at gmail.com
Mon Jun 14 19:43:18 PDT 2021

Hi Matteo,

On Tue, Jun 15, 2021 at 10:39 AM Matteo Croce
<mcroce at linux.microsoft.com> wrote:
> From: Matteo Croce <mcroce at microsoft.com>
> Replace the assembly mem{cpy,move,set} with C equivalent.
> Try to access RAM with the largest bit width possible, but without
> doing unaligned accesses.
> Tested on a BeagleV Starlight with a SiFive U74 core, where the
> improvement is noticeable.

There is already a patch on the ML for optimizing the assembly version.

Would you please try that and compare the results?


More information about the linux-riscv mailing list