From: Catalin Marinas <catalin.marinas@arm.com>
To: Bradley Morgan <include@grrlz.net>
Cc: will@kernel.org, linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org
Subject: Re: [RFC] [Question] memset.S old code stuff
Date: Tue, 4 Aug 2026 16:57:54 +0100 [thread overview]
Message-ID: <anIMAh8nL5rWS6d9@arm.com> (raw)
In-Reply-To: <F8EBC118-3F46-4A47-AD0A-A68E8688938F@grrlz.net>
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/cover.1571073960.git.robin.murphy@arm.com/
So that's where Cortex Strings diverged from what we can use in the
kernel.
--
Catalin
next prev parent reply other threads:[~2026-08-04 15:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-22 23:17 [RFC] [Question] memset.S old code stuff Bradley Morgan
2026-08-04 15:57 ` Catalin Marinas [this message]
2026-08-04 17:20 ` Mark Rutland
2026-08-04 17:29 ` Bradley Morgan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=anIMAh8nL5rWS6d9@arm.com \
--to=catalin.marinas@arm.com \
--cc=include@grrlz.net \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=will@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox