Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Apr 2026 17:55:57 +0000
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: b833e83b79bd - stable/15 - arm64: Explicitly use movz
Message-ID:  <69ebaead.1ebdb.502ec05c@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69ebaead.1ebdb.502ec05c>