git: a40287d6312e - stable/14 - simd(7): add missing aarch64 SIMD functions

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Sun, 09 Jun 2024 16:12:05 UTC
The branch stable/14 has been updated by fuz:

URL: https://cgit.FreeBSD.org/src/commit/?id=a40287d6312e598fc65c5a7bbdefe6f9e15b7a5f

commit a40287d6312e598fc65c5a7bbdefe6f9e15b7a5f
Author:     Getz Mikalsen <getz@FreeBSD.org>
AuthorDate: 2024-06-07 11:36:57 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2024-06-09 16:11:34 +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
    
    (cherry picked from commit 6c5ee6e55a35421248f914c4b00dc9ed555262fe)
---
 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