[PATCH v2] riscv: lib: optimize memcmp with ld insn

Conor.Dooley at microchip.com Conor.Dooley at microchip.com
Mon Sep 5 04:58:57 PDT 2022


On 05/09/2022 12:49, Andrew Jones wrote:
> 
> I'd prefer an assembly format were the operands are lined up
> 
>    op    r1, r2
>    op    r1, r2
> 
> Unfortunately I don't see much consistency in how to do this among other
> riscv .S files, though, so I'm not sure what to recommend if anything.

Gotta start somewhere for consistency & we can drift to something that
is actually consistent over time /shrug



More information about the linux-riscv mailing list