From nobody Thu May 15 03:03:16 2025 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 4ZyZm63X64z5wGVd; Thu, 15 May 2025 03:03:34 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (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 "freefall.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZyZm61ctxz44Kh; Thu, 15 May 2025 03:03:34 +0000 (UTC) (envelope-from danfe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747278214; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gTOI1diZZEqjzVsX+m2QGCo4GFNG0ZwxHb1EulcXGSw=; b=VJlbndeNDGaAjFX1VKyvxJOsjTjmsABcBrsmEwnnVl5O4JbGf+8YwFqsmzm3jtvpolPAud QObW8iDEV1Q+uEW3dWxhoDBlKJbDvLr8dU7LvZqtG9XjJl4YHR+aCxGACUl+Cy74NJ/RRQ k5sYscbZlk/Sl5aeLfrQvIXPq7RSiuv20NGliHTkMepM4NSVLM9CS9spgynq6PiY1yjuPS JTiiKjdPlDm0N28PbiSEh88s5yRaZFSsTd+AvS32hx5R+xsXtChSjCX2ULfgAxyT0673eN V/IUg8Nf4o+Dh/LUWdLj7OxKm1vqhpffYHvaE+grvuLwBX315fw3/Z484Nx12g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1747278214; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gTOI1diZZEqjzVsX+m2QGCo4GFNG0ZwxHb1EulcXGSw=; b=LBrmN/yzhEDStNozsI5BLG5qO+syIia1kmNpAxX99XhbaWTpyUAaEvqLsXvP7Zga3d9aRo qfdB0UQ4OG1tT1MEJkfaKDlNC+HNaIOqtQYkhYBCCDHkNpSNs6gv37smc0DYkOYHEKdrHm oD3je1liAxR5UL9HBjcFsZm22Mc4/01NAkE460XsK6K+x1Pehv1viMDyMXl31l9W2Qi3ZN Z3bVqR2h0IsD1QvBFhvPFYgjT2M4QQBGJ+i416gakPevTspBZJjrTECjg/kLfgYWXI5WQP KavIIbEq5VqIaX3I3QCOrBeKLdVKtZb1UAv3xyr6U/CNAYVlOuxS1eg0RsmqFQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1747278214; a=rsa-sha256; cv=none; b=XlLcywuzmLGCVZzFlE8/0J4VWs1d9TATHNZQZ249YLv+241zf7H/io65bcgtazx8wBLwNT cjDnU0kFt2/oNSiZbic7jcSNf9eqoQY8lxk1YMoVamo8pj+LaxB60R9V3GHs45CSiPWKpM J8nX2wIhXi5OUqykgCJO5TyF0heo79ihrFSTpQOkQObPwRiNyOEBckpYG+XZZii2g0jNdX brPeqBRlTW3E15rP1Blrl+wPSAuvEujKZ9bYu+2oL5UtkKZT0Fpjn0caJ59HBc9QtGyNw0 lfMBepkyPLXXJJkEVx45/X8z9dBZaE9zUIIBu+be0ieajccbOtB2uQRQCRIHog== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: by freefall.freebsd.org (Postfix, from userid 1033) id 1E1B4E087; Thu, 15 May 2025 03:03:16 +0000 (UTC) Date: Thu, 15 May 2025 03:03:16 +0000 From: Alexey Dokuchaev To: Robert Clausecker Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: git: 8b4684afcde3 - main - lib/libmd: add optimised SHA1 implementations for amd64 Message-ID: References: <202505142340.54ENecbI000166@gitrepo.freebsd.org> 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=us-ascii Content-Disposition: inline In-Reply-To: <202505142340.54ENecbI000166@gitrepo.freebsd.org> On Wed, May 14, 2025 at 11:40:38PM +0000, Robert Clausecker wrote: > commit 8b4684afcde3930eb49490f0b8431c4cb2ad9a46 > > lib/libmd: add optimised SHA1 implementations for amd64 > > Three implementations are provided: one using just scalar > instructions, one using AVX2, and one using the SHA instructions > (SHANI). The AVX2 version uses a complicated multi-block carry > scheme described in an Intel whitepaper Sounds pretty cool! How feasible would be coming up with AVX-only code? My CPU does not support AVX2 but I often need to compute SHA1 sums. ./danfe