From nobody Mon Mar 25 22:29:31 2024 X-Original-To: dev-commits-src-all@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 4V3SKS17gWz5FS0p; Mon, 25 Mar 2024 22:29:32 +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 4V3SKS0PkQz4Cnp; Mon, 25 Mar 2024 22:29:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711405772; 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=1aMfAD9s4XfOHOtOiSK6nbekenT4+HnDZ0hUau1VPso=; b=rKvxyedkadTjvlYT+lGOQSdVZ9qsRMab0Q22eRuqpT5nKuIRqf8iFH5NIVC5zWsxEvIqIh DBwG3NrUeG1AjjzTjbUA+dXjurTeFg5fISAw22MADKAJolnd8GbOFbevs2qHv43fp3zRA6 BiwO3WfG8egkGxuqIO/jZ6AKqdWEVTt/JNNYm9WhhFuVX2MhOK//H6MZ7zhxwXggrtVfl6 mQD6D0jT0vIhBakvrmVgtK74KXYyxLx7i0yFgW5f9Ramdt4RMrA7AeYCgmW4GO/NEijtu3 kEZC+Gu4safwfQhRuGyGkaC62Iq87OPn2sVv+SQKKTicEyhN+Lt6iyxxpYtbuA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711405772; a=rsa-sha256; cv=none; b=aTKL17rcpUToLOHafFVH7dhNUBr4ABn4GPaRncY8S4z9WZ2MYr/D7pxy6MvrRgXL/Qs+b5 b/O51R1EBh/cpdrGf4uWG5LM1Qoez6pqSl3ohv5X+3mJ8S2BUonE5fDHLslX45F8PuSNsE twpendryRrdVjV36y1C6cHtLSHZSik+BpvOMG/SRzp/6ClqYOrSXqOIoVDiunFHtCuihnm 4jrsO96K7B2tiYb8QozbqefhPGb3c2dlvMfudQu4nfJb8xRAThtKjyCSbzOA6jKE2JFaZd zWsMmWQckHp7HaoAJiD5GrGrdFYSjDLS8waWEGTlxYyidItqYZKvWs63LjDJFw== 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=1711405772; 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=1aMfAD9s4XfOHOtOiSK6nbekenT4+HnDZ0hUau1VPso=; b=WoTrnIqbSDomdj0K2KWa1/e7ib/tPPBL6Wbdmg7KEI0FhSwQFMNa4uVty8dyaUp3isAsX+ ULcnwhJFjRA4p0PhXy4SDp6hxLszZ2DBK1KmdN+jlaEihNkCUS6pEmGwengQjIBMacLSd1 lzDmPNQcAjpRiybptWd5l8Zq4JajX/vze6fDprSEoDzRyc/O2FbptaGpYf6QlHYISw2uKX 6Jpi2xxRBv6VU7ex/M4+TEYTM0y0al0kEqsGW5jn+YPBSOOYezXJT6MurEdKGYrNAQkYyg z7ZMMUr5g9ZEFtE36AhqBNR+WhP8+c3mCmNRnheE8I1tcJHkdNRwG7YCh9Vtaw== 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 4V3SKS00nVzb59; Mon, 25 Mar 2024 22:29:32 +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 42PMTV8Y043926; Mon, 25 Mar 2024 22:29:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42PMTViq043923; Mon, 25 Mar 2024 22:29:31 GMT (envelope-from git) Date: Mon, 25 Mar 2024 22:29:31 GMT Message-Id: <202403252229.42PMTViq043923@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Ed Maste Subject: git: c9bd948da3c8 - stable/14 - arm64: Save an instruction in locore.S List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/stable/14 X-Git-Reftype: branch X-Git-Commit: c9bd948da3c80726cffef37a31a5aac8fe06ef8b Auto-Submitted: auto-generated The branch stable/14 has been updated by emaste: URL: https://cgit.FreeBSD.org/src/commit/?id=c9bd948da3c80726cffef37a31a5aac8fe06ef8b commit c9bd948da3c80726cffef37a31a5aac8fe06ef8b Author: Alfonso Gregory AuthorDate: 2023-07-04 19:10:19 +0000 Commit: Ed Maste CommitDate: 2024-03-25 22:29:12 +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 (cherry picked from commit e1fe34707a60b0f6cf47397c6eea0a39d675e3ac) --- 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 f7e0b4023aed..a87d7add4149 100644 --- a/sys/arm64/arm64/locore.S +++ b/sys/arm64/arm64/locore.S @@ -116,8 +116,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