LogoTeluq
English
Logo
Répertoire de publications
de recherche en accès libre

Faster Positional-Population Counts for AVX2, AVX-512, and ASIMD [r-libre/3871]

Clausecker, Robert; Lemire, Daniel et Schintke, Florian (sous presse). Faster Positional-Population Counts for AVX2, AVX-512, and ASIMD. Concurrency and Computation: Practice and Experience.

Fichier(s) associé(s) à ce document :
[img]  PDF - 2412.16370v1.pdf
Contenu du fichier : Document de travail
Licence : Creative Commons CC BY.
 
Catégorie de document : Articles de revues
Évaluation par un comité de lecture : Oui
Étape de publication : Accepté (sous presse)
Résumé : 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.
Déposant: Lemire, Daniel
Responsable : Daniel Lemire
Dépôt : 05 nov. 2025 14:40
Dernière modification : 05 nov. 2025 14:40

Actions (connexion requise)

RÉVISER RÉVISER