Mathieu Bordere
67e9068c5f
wc: add AVX512 function for line counting
...
* configure.ac: Add detection of AVX512 intrinsics for wc.
* src/local.mk: Build AVX512 wc libraries.
* src/wc.c: Add runtime detection of AVX512 intrinsics and call
appropriate function when detected.
* src/wc.h (wc_lines_avx512): Declare function.
* tests/wc/wc-cpu.sh: Add a test that disables AVX512 intrinsics.
* src/wc_avx512.c: New file containing the wc -l implementation using
AVX512. The logic and code is reused from the AVX2 implementation with
slight adaptations. Replaced __builtin_popcount by __builtin_popcountll
and the combination of _mm256_cmpeq_epi8 and _mm256_movemask_epi8 by a
single call to _mm512_cmpeq_epi8_mask.
* NEWS: Mention the improvement.
2025-09-30 14:09:37 +01:00
..
2025-09-23 20:35:34 +01:00
2025-07-01 23:32:31 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-08-19 11:41:17 -07:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-09-21 11:30:40 -07:00
2025-08-23 18:55:46 +01:00
2025-04-08 16:07:06 +01:00
2025-01-01 09:33:08 +00:00
2025-07-23 07:49:49 -07:00
2025-09-20 22:12:58 +01:00
2025-09-17 12:20:24 -07:00
2025-09-22 00:09:03 +01:00
2025-09-19 16:40:09 -07:00
2025-01-01 09:33:08 +00:00
2025-07-09 17:12:40 -07:00
2025-01-01 09:33:08 +00:00
2025-09-21 16:37:26 +01:00
2025-01-01 09:33:08 +00:00
2025-01-15 22:43:18 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-07-22 21:15:17 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-09-22 11:23:50 +01:00
2025-09-17 21:37:35 +01:00
2025-01-20 15:21:58 +00:00
2025-03-23 12:01:18 -07:00
2025-01-20 15:21:58 +00:00
2025-09-21 11:30:12 -07:00
2025-08-12 17:50:40 +01:00
2025-01-01 09:33:08 +00:00
2025-01-15 17:07:19 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-08-03 10:55:54 -07:00
2025-08-12 17:50:40 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-09-02 21:14:34 -07:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-08-05 18:46:04 -07:00
2025-04-04 21:14:29 +01:00
2025-01-01 09:33:08 +00:00
2025-06-22 17:00:02 +01:00
2025-01-01 09:33:08 +00:00
2025-09-24 22:37:18 +01:00
2025-09-26 21:01:04 +01:00
2025-04-05 11:37:58 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-06-20 12:15:27 -07:00
2025-01-01 09:33:08 +00:00
2025-09-30 14:09:37 +01:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2015-11-06 16:40:42 +00:00
2025-01-01 09:33:08 +00:00
2011-04-13 11:18:48 +01:00
2012-09-14 10:20:03 +02:00
2025-09-26 21:01:04 +01:00
2015-11-10 13:03:33 +00:00
2025-01-01 09:33:08 +00:00
2025-01-01 09:33:08 +00:00
2021-05-12 22:14:11 +01:00