git: b833e83b79bd - stable/15 - arm64: Explicitly use movz
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Apr 2026 17:55:57 UTC
The branch stable/15 has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=b833e83b79bd832d7ea1271f0e321d678aca1a1b
commit b833e83b79bd832d7ea1271f0e321d678aca1a1b
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-02-17 20:46:35 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-04-24 15:36:15 +0000
arm64: Explicitly use movz
This appeases GNU as which doesn't map the mov alias to movz.
Reviewed by: andrew
Differential Revision: https://reviews.freebsd.org/D55160
(cherry picked from commit 4092df8820ea01951ab6df6cfd4fdc5b239e636e)
---
sys/arm64/arm64/locore.S | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sys/arm64/arm64/locore.S b/sys/arm64/arm64/locore.S
index cebea0b13649..39eb762a4cbe 100644
--- a/sys/arm64/arm64/locore.S
+++ b/sys/arm64/arm64/locore.S
@@ -44,7 +44,7 @@
* This can be used early on when we don't know the CPUs endianness.
*/
.macro mov_q reg, val
- mov \reg, :abs_g0_nc:\val
+ movz \reg, :abs_g0_nc:\val
.if (\val >> 16) & 0xffff != 0
movk \reg, :abs_g1_nc:\val
.endif