From nobody Sun Oct 15 19:31:19 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 4S7r2c3Ms8z4xJdj; Sun, 15 Oct 2023 19:31:20 +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 4S7r2b5mVtz4kmD; Sun, 15 Oct 2023 19:31:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697398279; 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=mX7SEmOI9rJktSKZrSxmNxQ6Y9sHLz5GX68KRAzQaQg=; b=RW2QLwRQnylTPkzS9qU+2EfZzBbYYdXA9Tf7b5F0j44k9CkQtaFrtxiVuLM1AbkxSE55Gi xkBvhQlfQppwFZybkxpepANk4VQBvAQ4f+Aeh0YirHs/3t8vU/PaMcYJzJ3i9H/riFWEwB oLHAOyG+ughgwIc/Lo0LsFZY0hzlpYjUGu6UWM8zUn2uBTY02juZl+YAEDQNrEj+ueGMJ5 uGkasYTDFQuKgyo4t6DlFzN/j47nA8njsAfMBefLn6rTM01Cdd0ACB6DM3DNrxgHUy6I82 Nw18wwyEgtOsV78VchhAzNxre+bm6nqrE0cPqur8CA1eXz9T1jJoKBIqziMcAw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697398279; a=rsa-sha256; cv=none; b=pc+NsmCQ0E26XdBiCPgqOjn/E4GIs06CtG61PmaIhatoR0Ryv3Y8NIMd49GesGuGbPAKny LV6nJ4hstA0LQPQntSRqCUSkEJ+F3PtM0IHP5h5RnlbVoGtIdDMxEdf1g/Uhnl7pDnxuQM MzUs03VkzrvVrCAQ+rL4VgASDTrD8blynxFKyRK4MhYWRu2cKgTiN9ySBq8QQv9oE5RHHN MWR/vkK8GSA30n2dn/F2w58osYwaBay5zA5JQjlTa0E9bsMTr2HLGTS54CHOBN7gxcPLBs d+3zMYEWL/zi8i944NAlLwBnV49rHZTjKQwvHvafTwL7aeMb2p4SB7RwFvaKsQ== 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=1697398279; 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=mX7SEmOI9rJktSKZrSxmNxQ6Y9sHLz5GX68KRAzQaQg=; b=SF0c9ta2q9cLD0hpQyBosyjg/3vn8665R5VbvMre+VfNsB2rk1cfuTN2/2NX69dZyJJfCW p8h8LKroqXf4Mh4RBjH3vaBzm7eGhmZK3ymtg0WH4y2rA2BF3x/QTaqvX2kwuC0rr/lKhH T4FhijKSco2Of/3MoIWqbQ7O1cn1VDfLaErPCJ1YyBd2NIvnprfAxwr+E3HHIGQDDEAmXA cdba+OU/khkTj6xglNal/13apcCukvPizGmfEL7Ez8VVmD/MMVnSPLWyHHXomo+FF62Pt3 cfF5+hXvw7fxAk1UNQUJ8m+MwKG18/OMkZ1lVpzmZqtlgagHD+SluD1NIt1BVQ== 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 4S7r2b4sP1z1P3B; Sun, 15 Oct 2023 19:31:19 +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 39FJVJXJ088813; Sun, 15 Oct 2023 19:31:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39FJVJmf088810; Sun, 15 Oct 2023 19:31:19 GMT (envelope-from git) Date: Sun, 15 Oct 2023 19:31:19 GMT Message-Id: <202310151931.39FJVJmf088810@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Robert Clausecker Subject: git: a78879dfaa8c - main - share/man/man7/simd.7: document new timingsafe_bcmp(3) scalar, baseline implementations 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: fuz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a78879dfaa8cae5384fefc0f03f10e15dc28d994 Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/src/commit/?id=a78879dfaa8cae5384fefc0f03f10e15dc28d994 commit a78879dfaa8cae5384fefc0f03f10e15dc28d994 Author: Robert Clausecker AuthorDate: 2023-08-31 15:34:44 +0000 Commit: Robert Clausecker CommitDate: 2023-10-15 19:21:26 +0000 share/man/man7/simd.7: document new timingsafe_bcmp(3) scalar, baseline implementations Sponsored by: The FreeBSD Foundation Approved by: security (cperciva) Differential Revision: https://reviews.freebsd.org/D41673 --- share/man/man7/simd.7 | 69 ++++++++++++++++++++++++++------------------------- 1 file changed, 35 insertions(+), 34 deletions(-) diff --git a/share/man/man7/simd.7 b/share/man/man7/simd.7 index e5823f463ffb..057d74b944bc 100644 --- a/share/man/man7/simd.7 +++ b/share/man/man7/simd.7 @@ -24,7 +24,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE . -.Dd August 25, 2023 +.Dd August 31, 2023 .Dt SIMD 7 .Os .Sh NAME @@ -49,39 +49,40 @@ the environment variable can be used to override this mechanism. .Pp Enhanced functions are present in the following architectures: -.Bl -column FUNCTION__ aarch64_ arm_ amd64_ i386_ ppc64_ -offset indent -.It Em FUNCTION Ta Em AARCH64 Ta Em ARM Ta Em AMD64 Ta Em I386 Ta Em PPC64 -.It bcmp Ta Ta Ta S1 Ta S -.It bcopy Ta Ta S Ta S Ta S Ta SV -.It bzero Ta Ta S Ta S Ta S -.It div Ta Ta Ta S Ta S -.It index Ta S Ta Ta S1 -.It ldiv Ta Ta Ta S Ta S -.It lldiv Ta Ta Ta S -.It memchr Ta Ta Ta S1 -.It memcmp Ta Ta S Ta S1 Ta S -.It memcpy Ta S Ta S Ta S Ta S Ta SV -.It memmove Ta S Ta S Ta S Ta S Ta SV -.It memset Ta Ta S Ta S Ta S -.It rindex Ta S -.It stpcpy Ta Ta Ta S1 -.It strcat Ta Ta Ta S Ta S -.It strchr Ta S Ta Ta S1 Ta S -.It strchrnul Ta Ta Ta S1 -.It strcmp Ta Ta S Ta S Ta S -.It strcpy Ta Ta Ta S1 Ta S Ta S2 -.It strcspn Ta Ta Ta S2 -.It strlen Ta Ta S Ta S1 -.It strncmp Ta Ta S Ta Ta S -.It strncpy Ta Ta Ta Ta Ta S2 -.It strnlen Ta Ta Ta S1 -.It strrchr Ta S Ta Ta Ta S -.It strspn Ta Ta Ta S2 -.It swab Ta Ta Ta Ta S -.It wcschr Ta Ta Ta Ta S -.It wcscmp Ta Ta Ta Ta S -.It wcslen Ta Ta Ta Ta S -.It wmemchr Ta Ta Ta Ta S +.Bl -column FUNCTION________ aarch64_ arm_ amd64_ i386_ ppc64_ -offset indent +.It Em FUNCTION Ta Em AARCH64 Ta Em ARM Ta Em AMD64 Ta Em I386 Ta Em PPC64 +.It bcmp Ta Ta Ta S1 Ta S +.It bcopy Ta Ta S Ta S Ta S Ta SV +.It bzero Ta Ta S Ta S Ta S +.It div Ta Ta Ta S Ta S +.It index Ta S Ta Ta S1 +.It ldiv Ta Ta Ta S Ta S +.It lldiv Ta Ta Ta S +.It memchr Ta Ta Ta S1 +.It memcmp Ta Ta S Ta S1 Ta S +.It memcpy Ta S Ta S Ta S Ta S Ta SV +.It memmove Ta S Ta S Ta S Ta S Ta SV +.It memset Ta Ta S Ta S Ta S +.It rindex Ta S +.It stpcpy Ta Ta Ta S1 +.It strcat Ta Ta Ta S Ta S +.It strchr Ta S Ta Ta S1 Ta S +.It strchrnul Ta Ta Ta S1 +.It strcmp Ta Ta S Ta S Ta S +.It strcpy Ta Ta Ta S1 Ta S Ta S2 +.It strcspn Ta Ta Ta S2 +.It strlen Ta Ta S Ta S1 +.It strncmp Ta Ta S Ta Ta S +.It strncpy Ta Ta Ta Ta Ta S2 +.It strnlen Ta Ta Ta S1 +.It strrchr Ta S Ta Ta Ta S +.It strspn Ta Ta Ta S2 +.It swab Ta Ta Ta Ta S +.It timingsafe_bcmp Ta Ta Ta S1 +.It wcschr Ta Ta Ta Ta S +.It wcscmp Ta Ta Ta Ta S +.It wcslen Ta Ta Ta Ta S +.It wmemchr Ta Ta Ta Ta S .El .Pp .Sy S Ns :\ scalar (non-SIMD),