Re: [RFC] [Question] memset.S old code stuff

Catalin Marinas <[email protected]>
Newsgroups gmane.linux.kernel,gmane.linux.ports.arm.kernel
Message-ID <[email protected]>
On Thu, Jul 23, 2026 at 12:17:15AM +0100, Bradley Morgan wrote:
> Hey folks, sorry for the crazy asm emails, I see that in memset.S in
> arch/arm64/lib/memset.S, the code is incredibly old code, like 2013 old
> (heh).
> 
> I was wondering if I could say, adapt it from optimized-routines (same
> treatment as memcpy.S essentially.

I think Robin attempted until he realised the use of the Q registers in
the Cortex Strings library, mentioned here:

https://lore.kernel.org/all/[email protected]/

So that's where Cortex Strings diverged from what we can use in the
kernel.

-- 
Catalin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.