Matthew Sterrett 294a892769 x86: Unifies 'strnlen-evex' and 'strnlen-evex512' implementations.
This commit uses a common implementation 'strnlen-evex-base.S' for both
'strnlen-evex' and 'strnlen-evex512'

This patch serves both to reduce the number of implementations, and it also does some small optimizations that benefit strnlen-evex and strnlen-evex512.

All tests pass on x86.

Benchmarks were taken on SKX.
https://www.intel.com/content/www/us/en/products/sku/123613/intel-core-i97900x-xseries-processor-13-75m-cache-up-to-4-30-ghz/specifications.html

Geometric mean for strnlen-evex over all benchmarks (N=10) was (new/old) 0.881
Geometric mean for strnlen-evex512 over all benchmarks (N=10) was (new/old) 0.953

Code Size Changes:
    strnlen-evex       :  +31 bytes
    strnlen-evex512    :  +156 bytes
Reviewed-by: Noah Goldstein <goldstein.w.n@gmail.com>
2024-08-19 07:34:02 -07:00
..
2024-08-07 11:02:03 -03:00
2024-07-14 12:44:15 +02:00
2024-08-11 15:29:56 +02:00
2024-08-07 11:02:03 -03:00
2024-06-18 10:45:36 +02:00
2024-07-24 16:43:01 -04:00
2024-08-07 11:02:03 -03:00
2024-07-08 21:51:03 +02:00
2024-06-17 13:47:09 +00:00
2024-08-08 14:53:53 +02:00
2024-06-17 13:47:09 +00:00
2024-04-10 14:53:39 -03:00
2024-08-08 13:42:12 +02:00
2024-08-08 14:53:55 +02:00
2024-08-08 13:01:02 +02:00
2024-06-17 13:47:09 +00:00
2024-08-07 11:02:03 -03:00