From nobody Mon Oct 16 19:56:39 2023 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S8SYM6skKz4xknx; Mon, 16 Oct 2023 19:56:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S8SYM624Dz4HGy; Mon, 16 Oct 2023 19:56:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697486199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CcW5UMg+quXNQd8vkb2p8lKrGJuHhw9SmxuciTk2VrI=; b=IWGlb5ark4uMH0xSnL6MpZMigGlqx6Ts610CjrHCbSs+xKRx9WVFD0yeRZu4Ca1eatISOW NxQwEn+AtxATnz40bQXSBJ8Mpo/89gWtd3jlDXXARfQlKPHdxQ3+YxW0cbAmkSKrZn0wWO NdWjgDY5qSso4nvGKiYFoCILXEO7CRGBqN6HDO53xBZY9R1OhgLA2q09Q05yRvmHyW+mBH VyN9bFn4lsLCAJuhrUwqY30Ao9V2bOqdMuI+Uwtl7WAs9qxdDjHM/bXRYUwvFSXmk1Rlzx eLGExE09ZuToqYgD4TcpwN8nWKwH/SbMrXl/9yDewaXqemrrdCkglmjDP0E5Qw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697486199; a=rsa-sha256; cv=none; b=SwLxNNZrrwOQ9yaoKTbohU2jJTcNyx2ihMnB3oGOWa8f1ZWrSlJND/NbNu0B0EZivxoMnk c4dOulTQfiYEhJKFq+ZJ+GplsxKyrehgEk53O1B/mgJlaHMWZt0SmkJ/n8V5asjl5O5/1O g2WKToa0U3pqQgB+jDR0QgR3qW+Q2P1ezLifbjgXQj/QbQgGw1BX2bkt84ez1XLni0SoWg E75EvmmmuRa+t+AXMkmfDsRRvz5UmBZkHNVOZjEqnxc2Y4mG0vyvkDOIRp4s+5NXzeMPBE 1f/rcAsWN5G/Woe87p1NKxNBQLogSK/yhgRYr6W/4diEkD+x0ajLgVdeq67iIA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697486199; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=CcW5UMg+quXNQd8vkb2p8lKrGJuHhw9SmxuciTk2VrI=; b=d+qMJCvHDztmH5Qyzi90wqZZQOtyMMXCufbd1glwHFkd+FrjtPTdEQQ86nK4tgIz4GuhjS FuaZtWd70pRYIkyjfb+RERDI6+SXmA4IB6AofUgJMvenFX7Y9rGe2SvvGLyDHE8VVwLGkw /1zV6p0/37FI658MxfHX7Ms3Pa+6khx4yI/mjzpiYJKeKyUI7bS2Vhxal2fEImplQNMWmP QoGkH3Kahfx9OouDgGOoU7wDSjDF50DOaPnG3eYKIpY4w+bzD9SDdxYSunEgL19FsVGYdl XS90R3dMS72lQ/SmpFniDB/cdsc+FHT2YDKsO2R3X3wopI2VT3w04M0Xq4RItQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S8SYM53d8ztMx; Mon, 16 Oct 2023 19:56:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39GJudQE028513; Mon, 16 Oct 2023 19:56:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39GJudQ9028510; Mon, 16 Oct 2023 19:56:39 GMT (envelope-from git) Date: Mon, 16 Oct 2023 19:56:39 GMT Message-Id: <202310161956.39GJudQ9028510@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Ed Maste Subject: git: e1fe34707a60 - main - arm64: Save an instruction in locore.S List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e1fe34707a60b0f6cf47397c6eea0a39d675e3ac Auto-Submitted: auto-generated The branch main has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=e1fe34707a60b0f6cf47397c6eea0a39d675e3ac commit e1fe34707a60b0f6cf47397c6eea0a39d675e3ac Author: Alfonso Gregory AuthorDate: 2023-07-04 19:10:19 +0000 Commit: Ed Maste CommitDate: 2023-10-16 19:54:41 +0000 arm64: Save an instruction in locore.S We can move and sub at the same time, so let's do that. Reviewed by: andrew, kevans Pull Request: https://github.com/freebsd/freebsd-src/pull/794 --- sys/arm64/arm64/locore.S | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/arm64/arm64/locore.S b/sys/arm64/arm64/locore.S index b592c753aa50..d55a21e9c55e 100644 --- a/sys/arm64/arm64/locore.S +++ b/sys/arm64/arm64/locore.S @@ -112,8 +112,7 @@ virtdone: /* Set up the stack */ adrp x25, initstack_end add x25, x25, :lo12:initstack_end - mov sp, x25 - sub sp, sp, #PCB_SIZE + sub sp, x25, #PCB_SIZE /* Zero the BSS */ ldr x15, .Lbss