Hacker GitHub

← All repos

WojciechMula/sse-popcount

View on GitHub ↗ ★ 358 C++

SIMD (SSE) population count --- http://0x80.pl/articles/sse-popcount.html

4 mentions on Hacker News by 4 people: 1 story, 3 comments · first 2016-03-13 · latest 2026-04-16

Mentions per year 4 mentions · busiest year 2022 (2)
20082026
  1. ▲ 1
    SIMD Population Count
    story by tosh · 2026-04-16 · 0 comments
  2. …but I'm still struggling with rust w/ asm. Along my journeys, however, I found this repo https://github.com/WojciechMula/sse-popcount/ which has tons of competing simd implementations for both intel and arm.
  3. …(and AVX-512 if present) is actually faster yet [1] - at least for 512 byte inputs or larger. [1]: https://github.com/WojciechMula/sse-popcount
    comment by Genbox · 2022-04-30 · in Counting set bits in an interesting way
  4. …seems it's such due to my indolence/stupidity. I've just merged pull request by Simon Lindholm ( https://github.com/WojciechMula/sse-popcount/pull/2 ) with manually unrolled loops and it made the AVX2 code faster 40% than POPCNT.