Thread (23 messages) 23 messages, 6 authors, 2021-06-18

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

From: Bin Meng <hidden>
Date: 2021-06-15 02:43:40
Also in: linux-riscv, lkml

Hi Matteo,

On Tue, Jun 15, 2021 at 10:39 AM Matteo Croce
[off-list ref] wrote:
From: Matteo Croce <redacted>

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.
https://patchwork.kernel.org/project/linux-riscv/patch/20210216225555.4976-1-gary@garyguo.net/

Would you please try that and compare the results?

Regards,
Bin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help