From nobody Fri Apr 24 17:55:51 2026 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 4g2LGx1zk8z6ZxPy for ; Fri, 24 Apr 2026 17:55:53 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g2LGw0n3sz3q5j for ; Fri, 24 Apr 2026 17:55:52 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1777053352; 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=jcxS0ZZm0LHy9uunIJuHbLdzyL8n/1NCBrIw1mk3QPA=; b=lt0NM6SVpw/qtgesnpo5/lYSflajaSEm4cQKhVcrIbLaAk7sBvRzbfBmrf6fqCoW+vw17/ 0bAy2568IFbNTfZk/PvBJ7XffNB9tmBNz7m59Bb/6u+O6r5nd5Ko36tVdt6D/qrzLsy4fw kmtkl1N+NBjSoUzIOg0b3O8FYPdttxOSMYSUJPZ9pV+/iwS7MKAesDvTJ8gr7TrCVHF0ux P3w4WcRGC5AITeLTRJciGgpgr2h0vxhpbDXCxFN1+0obSI/phfweWxcZ9YhLyp8vH9YCQp 5n5oqFgkO/QH3iEGqLCzr7WuVvwyIU1/zL4nXmsOqbLc7UsbEtDx4wl9J1BGSQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1777053352; a=rsa-sha256; cv=none; b=fcJ3sGb7YLLvgnqht24w3czIZP3rCbet4IQJG99qYI85G3ETnprAln808rt4V40WCWSDpG wA2dtqiml6bXgVM6bUMLrccb1MJD/5RXGPYm4bpXWHR2zcPslMg9jgq8gPaYqfBVADRu3Q T2eL13PqtWBUaUexMT9h+9Z+wlPvgXu1XaEhP+iNr+lg4lbU0hF+LaicXTWyINLpG8+5/e PEuIkiorJKDhQRU6MZSUi/wSq05A5J/+wt5IWvCCtebTAu5QAquKZmVRXEMRjUXaWuBk3o ks9M+KOFSPlJi0ow/kIw2Akfgdbz85b1T+Qwn+vSnJH1aorXB+aMK9Wc63OinA== 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=1777053352; 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=jcxS0ZZm0LHy9uunIJuHbLdzyL8n/1NCBrIw1mk3QPA=; b=mR2hmxkoFew7d45Ln5iPNZreYiLZs2JDMekKALsj/0HG1CKo/9oZxgB66WMgQewMlRoOJ9 wAFbU40wgD+2Z9Mon9zFWt6h18Kvg6KidBuSi3TLtw3hGpmPvdMo3JuqmAQAGFdtd9w3gW Q2dBU8bCZ/0aIHU+bq36aAamhh3ph+uBF3ObojU1LUMmKOraSyXi6CYWzELh9mhdJQfuhY H9+15VcQTV1LUVbfr4nGIQH4FnA89pvyZptl5IFA9kHRhLwD0xsU4H/EPTXpFWmITEOgyE LACxZb0h/mgRtbvd5Ctz5Opjh+jVrl+gb3Py2JmH57+kPf6nG1e/41cgVCWjnQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4g2LGv4fpWz1CYv for ; Fri, 24 Apr 2026 17:55:51 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 1c464 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 24 Apr 2026 17:55:51 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 1c7e291da65a - stable/15 - libmd aarch64: Use ands instead of bics to round down the length 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/15 X-Git-Reftype: branch X-Git-Commit: 1c7e291da65a1dd30edc59e6ecc4b5bdc5e49af2 Auto-Submitted: auto-generated Date: Fri, 24 Apr 2026 17:55:51 +0000 Message-Id: <69ebaea7.1c464.5588ac6@gitrepo.freebsd.org> The branch stable/15 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=1c7e291da65a1dd30edc59e6ecc4b5bdc5e49af2 commit 1c7e291da65a1dd30edc59e6ecc4b5bdc5e49af2 Author: John Baldwin AuthorDate: 2026-02-09 16:26:29 +0000 Commit: John Baldwin CommitDate: 2026-04-24 15:32:43 +0000 libmd aarch64: Use ands instead of bics to round down the length GNU as does not accept bics with two register operands but instead requires three register operands. However, clang assembles the bics instruction to ands anyway, so just use ands directly. Reviewed by: fuz Differential Revision: https://reviews.freebsd.org/D55155 (cherry picked from commit 244f498074b5574d18d4518583863580498b8d3b) --- lib/libmd/aarch64/md5block.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libmd/aarch64/md5block.S b/lib/libmd/aarch64/md5block.S index b928c8dd795a..297db7f6bdbd 100644 --- a/lib/libmd/aarch64/md5block.S +++ b/lib/libmd/aarch64/md5block.S @@ -134,7 +134,7 @@ d_ .req m5 stp x23, x24, [sp, #0x20] stp x25, x26, [sp, #0x30] - bics len, len, #63 // length in blocks + ands len, len, #~63 // length in blocks add end, buf, len // end pointer beq .Lend // was len == 0 after BICS?