From nobody Sun Jun 09 16:10:54 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 4Vy0KV5Q6Bz5MP7q; Sun, 09 Jun 2024 16:10:54 +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 4Vy0KV4x6Mz4Srv; Sun, 9 Jun 2024 16:10:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1717949454; 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=PiBwCeSmalMrEAaGyvk7/cpzJ4D8zAv8hpYa+p7eG3g=; b=iQz4IYD0QdfeumPn/XSI7ZLnpLsnhpSn5CWojArN063MW8B03N54u4ouQvZ1Ig5y0CfOcM h/HlzQ+2wZj6Dk5lkG6Ighr5ERrilTWlcGgFtTrT80jdo0XVOYCuaUUGE7r+gWRldHzSD+ 5kHVT9H5K0WPTPgNX5AYotOnSHvQG2ik11b8Qsndmo7baGNlU1+GEddZ+Ygk+gZJwi64ua uvyXXZ5f+zEKz56dkxhTQX1yoPfp1fD9G//2F9P3aeNeON8VDr3qXsYtI0Z1H316MPup5T a1DXjCDwh37J+C+oWEu+II5YbA7FY+aqcLUp086sWGBfUng0YffZy39XsFOWTQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1717949454; a=rsa-sha256; cv=none; b=KGdaO232Op8SAofcCc9pjC2wO80ScvbDT6zSZ4DutN0w8oq8PG/v9KG5yQGt3lILAzd4jD DhNv0la5WvdxbkcKE0I6K6BFaHSVEd977QF3+alZyU8O+pIAqGstDNU9PCDPAyXPMJ8eRs WLyrqesWzPkUkTCOLHE28Alw3lvOVWvQHO09VywNnaJUhygvYpM3sK+g77T/yulR2SNNTc 65ayId5UjHKfH3DvV+L8bG59MmYIcWFGi5wYw7FhJtjoD+shwKqcGkq2eh8s0gFhqEoPGo yA3SN63wWrbpAbCVKdYZLR6IyQAPD3FR188DhaSB8zcCrQlM0pjirsyru3ZwLg== 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=1717949454; 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=PiBwCeSmalMrEAaGyvk7/cpzJ4D8zAv8hpYa+p7eG3g=; b=QQoolwjPl/JjiZCmoARy0+fEd7Djxwi8mSrgGp8oPnqg2HFwPQi8de4UIS/o8RreIlen87 tfZQ5/t4DuPmvL987eMGvM5qr4EWPVHtiBbUSaekCl0TPxYTTg5yqu1PGcRl3TnprlAJBr xaGVvtzDdCnDMwTDsVc+ByKNBrw0quDcfHirEy8V5Ch55f5Gm4lhWL7+Ddn53tSkCGwAVZ RgeqosFHgrkYb3qgsspXi89Zp/i7RFdRxpQbto0HKnZ5QbDjTlUndZP8JMrbGWccMsSwJA D7UZ8NVfmZsY14f3O/Pa4cwCnBIQdsL6VcgcVruj/ynoRxKiQ+S7r1V1CiF9wA== 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 4Vy0KV4WnRzpmj; Sun, 9 Jun 2024 16:10:54 +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 459GAsj7083122; Sun, 9 Jun 2024 16:10:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 459GAsHx083105; Sun, 9 Jun 2024 16:10:54 GMT (envelope-from git) Date: Sun, 9 Jun 2024 16:10:54 GMT Message-Id: <202406091610.459GAsHx083105@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: 6c5ee6e55a35 - main - simd(7): add missing aarch64 SIMD functions 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: fuz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6c5ee6e55a35421248f914c4b00dc9ed555262fe Auto-Submitted: auto-generated The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/src/commit/?id=6c5ee6e55a35421248f914c4b00dc9ed555262fe commit 6c5ee6e55a35421248f914c4b00dc9ed555262fe Author: Getz Mikalsen AuthorDate: 2024-06-07 11:36:57 +0000 Commit: Robert Clausecker CommitDate: 2024-06-09 16:09:44 +0000 simd(7): add missing aarch64 SIMD functions Some of the string functions in contrib/arm-optimized routines are SIMD enhanced which is not reflect on the simd(7) manpage. This commit addresses that and introduces a new label A for functions enhanced with the Arm ASIMD (Neon) extension. Approved by: emaste Reviewed by: fuz (GSoC mentor) MFC to: stable/14 Sponsored by: Google LLC (GSoC 2024) Differential Revision: https://reviews.freebsd.org/D45523 --- share/man/man7/simd.7 | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/share/man/man7/simd.7 b/share/man/man7/simd.7 index fd9485524aef..877bc77adf4b 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 December 6, 2023 +.Dd June 7, 2024 .Dt SIMD 7 .Os .Sh NAME @@ -55,33 +55,33 @@ Enhanced functions are present for the following architectures: .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 index Ta A Ta Ta S1 .It ldiv Ta Ta Ta S Ta S .It lldiv Ta Ta Ta S -.It memchr Ta S Ta Ta S1 -.It memcmp Ta S Ta S Ta S1 Ta S +.It memchr Ta A Ta Ta S1 +.It memcmp Ta A Ta S Ta S1 Ta S .It memccpy Ta Ta Ta S1 .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 memrchr Ta Ta Ta S1 -.It memset Ta S Ta S Ta S Ta S -.It rindex Ta S Ta Ta S1 Ta S -.It stpcpy Ta S Ta Ta S1 +.It memrchr Ta A Ta Ta S1 +.It memset Ta A Ta S Ta S Ta S +.It rindex Ta A Ta Ta S1 Ta S +.It stpcpy Ta A Ta Ta S1 .It stpncpy Ta Ta Ta S1 .It strcat Ta Ta Ta S1 Ta S -.It strchr Ta S Ta Ta S1 Ta S -.It strchrnul Ta S Ta Ta S1 +.It strchr Ta A Ta Ta S1 Ta S +.It strchrnul Ta A Ta Ta S1 .It strcmp Ta S Ta S Ta S1 Ta S -.It strcpy Ta S Ta Ta S1 Ta S Ta S2 +.It strcpy Ta A Ta Ta S1 Ta S Ta S2 .It strcspn Ta Ta Ta S2 .It strlcat Ta Ta Ta S1 .It strlcpy Ta Ta Ta S1 -.It strlen Ta S Ta S Ta S1 +.It strlen Ta A Ta S Ta S1 .It strncat Ta Ta Ta S1 .It strncmp Ta S Ta S Ta S1 Ta S .It strncpy Ta Ta Ta S1 Ta Ta S2 -.It strnlen Ta S Ta Ta S1 -.It strrchr Ta S Ta Ta S1 Ta S +.It strnlen Ta A Ta Ta S1 +.It strrchr Ta A Ta Ta S1 Ta S .It strpbrk Ta Ta Ta S2 .It strsep Ta Ta Ta S2 .It strspn Ta Ta Ta S2 @@ -100,7 +100,8 @@ Enhanced functions are present for the following architectures: or PowerPC\ 2.05, .Sy 3 Ns :\ x86-64-v3, .Sy 4 Ns :\ x86-64-v4, -.Sy V Ns :\ PowerPC\ VSX. +.Sy V Ns :\ PowerPC\ VSX, +.Sy A Ns :\ Arm\ ASIMD (NEON). . .Sh ENVIRONMENT .Bl -tag