Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Feb 2026 21:38:16 +0000
From:      Andrew Turner <andrew@fubar.geek.nz>
To:        Jessica Clarke <jrtc27@freebsd.org>
Cc:        "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org>, Sarah Walker <sarah.walker2@arm.com>
Subject:   Re: git: 2ccbf06c0285 - main - arm64: Add MOPS implementations of memset(), memcpy() and memmove()
Message-ID:  <B51FC2DF-66DE-4C41-AAA9-C17B75B8A315@fubar.geek.nz>
In-Reply-To: <5F843E5F-5827-4AFC-B843-4812C0D907FC@freebsd.org>
References:  <698b5224.47b1b.86c86bb@gitrepo.freebsd.org> <5F843E5F-5827-4AFC-B843-4812C0D907FC@freebsd.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]


> 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
[-- Attachment #2 --]
<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><meta http-equiv="content-type" content="text/html; charset=us-ascii"><div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br id="lineBreakAtBeginningOfMessage"><div><br><blockquote type="cite"><div>On 10 Feb 2026, at 18:12, Jessica Clarke &lt;jrtc27@freebsd.org&gt; wrote:</div><br class="Apple-interchange-newline"><div><meta charset="UTF-8"><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">On 10 Feb 2026, at 15:43, Andrew Turner &lt;</span><a href="mailto:andrew@FreeBSD.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">andrew@FreeBSD.org</a><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">&gt; wrote:</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;">The branch main has been updated by andrew:<br><br>URL: https://cgit.FreeBSD.org/src/commit/?id=2ccbf06c0285ca1c06681e7212da8e7d1e87fe19<br><br>commit 2ccbf06c0285ca1c06681e7212da8e7d1e87fe19<br>Author: &nbsp;&nbsp;&nbsp;&nbsp;Sarah Walker &lt;sarah.walker2@arm.com&gt;<br>AuthorDate: 2026-01-28 16:22:50 +0000<br>Commit: &nbsp;&nbsp;&nbsp;&nbsp;Andrew Turner &lt;andrew@FreeBSD.org&gt;<br>CommitDate: 2026-02-10 15:39:56 +0000<br><br>&nbsp;&nbsp;arm64: Add MOPS implementations of memset(), memcpy() and memmove()<br><br>&nbsp;&nbsp;Enable the use of MOPS implementations of memset, memcpy and memmove within<br>&nbsp;&nbsp;the kernel. Fix pre-ifunc resolution uses of these functions.<br></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">And what happens if the compiler inserts calls to these functions prior</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline !important;">to IFUNC resolution?</span><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"></div></blockquote></div><br><div>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.</div><div><br></div><div>Andrew</div></div></body></html>
home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B51FC2DF-66DE-4C41-AAA9-C17B75B8A315>