Open access research
publication repository
publication repository
Clausecker, Robert; Lemire, Daniel, & Schintke, Florian (In Press). Faster Positional-Population Counts for AVX2, AVX-512, and ASIMD. Concurrency and Computation: Practice and Experience.
File(s) available for this item:|
PDF
- 2412.16370v1.pdf
Content : Draft Version License : Creative Commons Attribution. |
|
| Item Type: | Journal Articles |
|---|---|
| Refereed: | Yes |
| Status: | In Press |
| Abstract: | The positional population count operation pospopcnt() counts for an array of w-bit words how often each of the w bits was set. Various applications in bioinformatics, database engineering, and digital processing exist. Building on earlier work by Klarqvist et al., we show how positional population counts can be rapidly computed using SIMD techniques with good performance from the first byte, approaching memory-bound speeds for input arrays of as little as 4 KiB. Improvements include an improved algorithm structure, better handling of unaligned and very short arrays, as well as faster bit-parallel accumulation of intermediate results. We provide a generic algorithm description as well as implementations for various SIMD instruction set extensions, including Intel AVX2, AVX-512, and ARM ASIMD, and discuss the adaption of our algorithm to other platforms. |
| Depositor: | Lemire, Daniel |
| Owner / Manager: | Daniel Lemire |
| Deposited: | 05 Nov 2025 14:40 |
| Last Modified: | 05 Nov 2025 14:40 |
|
RÉVISER |