Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2026 20:48:13 +0000
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 4092df8820ea - main - arm64: Explicitly use movz
Message-ID:  <6994d40d.1d27e.700da0b2@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=4092df8820ea01951ab6df6cfd4fdc5b239e636e

commit 4092df8820ea01951ab6df6cfd4fdc5b239e636e
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2026-02-17 20:46:35 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2026-02-17 20:46:35 +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
---
 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 46d3bac576e8..f1228235dfe7 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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6994d40d.1d27e.700da0b2>