Re: git: 2ccbf06c0285 - main - arm64: Add MOPS implementations of memset(), memcpy() and memmove()

From: Andrew Turner <andrew_at_fubar.geek.nz>
Date: Tue, 10 Feb 2026 21:38:16 UTC

> On 10 Feb 2026, at 18:12, Jessica Clarke <jrtc27@freebsd.org> wrote:
> 
> On 10 Feb 2026, at 15:43, Andrew Turner <andrew@FreeBSD.org <mailto:andrew@FreeBSD.org>> wrote:
> 
>> The branch main has been updated by andrew:
>> 
>> URL: https://cgit.FreeBSD.org/src/commit/?id=2ccbf06c0285ca1c06681e7212da8e7d1e87fe19
>> 
>> commit 2ccbf06c0285ca1c06681e7212da8e7d1e87fe19
>> Author:     Sarah Walker <sarah.walker2@arm.com>
>> AuthorDate: 2026-01-28 16:22:50 +0000
>> Commit:     Andrew Turner <andrew@FreeBSD.org>
>> CommitDate: 2026-02-10 15:39:56 +0000
>> 
>>   arm64: Add MOPS implementations of memset(), memcpy() and memmove()
>> 
>>   Enable the use of MOPS implementations of memset, memcpy and memmove within
>>   the kernel. Fix pre-ifunc resolution uses of these functions.
> 
> And what happens if the compiler inserts calls to these functions prior
> to IFUNC resolution?

Probably as well as if the compiler inserted calls to memset/memcpy/memmove before ifunc resolution on amd64 given it has had it for these functions since 2018.

Andrew