<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Faster Population Counts Using AVX2 Instructions · HackerPapers discussions</title><link>https://hackerpaper.kaipfister.de/p/1611.07612/</link><description>Collected HN comments and submissions linking this paper.</description><language>en</language><lastBuildDate>Mon, 02 Nov 2026 11:16:22 GMT</lastBuildDate><atom:link href="https://hackerpaper.kaipfister.de/p/1611.07612/feed.xml" rel="self" type="application/rss+xml" /><item><title>Faster Population Counts Using AVX2 Instructions — mentioned by Lammy</title><link>https://news.ycombinator.com/item?id=32817327</link><guid isPermaLink="false">urn:hackerpapers:mention:1611.07612:32817327</guid><pubDate>Mon, 12 Sep 2022 21:35:27 GMT</pubDate><description>&lt;p&gt;Best throw away all your CPUs then too: https://groups.google.com/g/comp.arch/c/UXEi7G6WHuU/m/Z2z7fC... https://vaibhavsagar.com/blog/2019/09/08/popcount/ https://arxiv.org/abs/1611.07612&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1611.07612/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item><item><title>Faster Population Counts Using AVX2 Instructions — HN submission</title><link>https://news.ycombinator.com/item?id=27985827</link><guid isPermaLink="false">urn:hackerpapers:submission:1611.07612:27985827</guid><pubDate>Wed, 28 Jul 2021 16:40:46 GMT</pubDate><description>&lt;p&gt;Faster Population Counts Using AVX2 Instructions [pdf]&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;3 points; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/1611.07612/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item><item><title>Faster Population Counts Using AVX2 Instructions — mentioned by dlemire</title><link>https://news.ycombinator.com/item?id=27476872</link><guid isPermaLink="false">urn:hackerpapers:mention:1611.07612:27476872</guid><pubDate>Fri, 11 Jun 2021 18:27:10 GMT</pubDate><description>&lt;p&gt;You can also go faster using SIMD instructions if you need to compute wider population counts (beyond 64 bits): Faster Population Counts Using AVX2 Instructions, Computer Journal, Volume 61, Issue 1, 2018 https://arxiv.org/abs/1611.07612&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1611.07612/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item><item><title>Faster Population Counts Using AVX2 Instructions — mentioned by eesmith</title><link>https://news.ycombinator.com/item?id=20914926</link><guid isPermaLink="false">urn:hackerpapers:mention:1611.07612:20914926</guid><pubDate>Mon, 09 Sep 2019 03:13:22 GMT</pubDate><description>&lt;p&gt;Though, interestingly, if AVX2 is available then Lemire&amp;#x27;s CRoaring package uses a Harley-Seal popcount implementation, at https://github.com/RoaringBitmap/CRoaring/blob/master/includ... , rather than the POPCNT64 instruction. Because it&amp;#x27;s faster - https://arxiv.org/abs/1611.07612 .&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1611.07612/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item><item><title>Faster Population Counts Using AVX2 Instructions — mentioned by nkurz</title><link>https://news.ycombinator.com/item?id=20209168</link><guid isPermaLink="false">urn:hackerpapers:mention:1611.07612:20209168</guid><pubDate>Tue, 18 Jun 2019 01:55:44 GMT</pubDate><description>&lt;p&gt;You are obviously already on top of the concept, but in the paper &amp;quot;Faster Population Counts Using AVX2 Instructions&amp;quot; we tried to give a clear explanation (with diagrams) of how it can be faster to roll your own popcnt using Carry-Save-Adders: https://arxiv.org/abs/1611.07612&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1611.07612/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item><item><title>Faster Population Counts Using AVX2 Instructions — mentioned by indescions_2018</title><link>https://news.ycombinator.com/item?id=17047395</link><guid isPermaLink="false">urn:hackerpapers:mention:1611.07612:17047395</guid><pubDate>Fri, 11 May 2018 14:11:44 GMT</pubDate><description>&lt;p&gt;See also: The Aggregate Magic Algorithms page http://aggregate.org/MAGIC/ For example, Population Count instructions exist. But may actually be microcoded to count one bit per cycle. Vectorizing your tallies can yield log time speedups: Faster Population Counts Using AVX2 Instructions https://arxiv.org/pdf/1611.07612.pdf&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1611.07612/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item><item><title>Faster Population Counts Using AVX2 Instructions — mentioned by nkurz</title><link>https://news.ycombinator.com/item?id=13119938</link><guid isPermaLink="false">urn:hackerpapers:mention:1611.07612:13119938</guid><pubDate>Wed, 07 Dec 2016 02:03:30 GMT</pubDate><description>&lt;p&gt;I work with the author regularly, and am inclined to a more charitable reading. I was serious when I suggested that he&amp;#x27;d love to receive your Rust benchmark showing that it has no slowdown, and would happily include a note about them. I&amp;#x27;m not sure of the the purpose of the &amp;quot;obfuscation&amp;quot; comments. I&amp;#x27;d guess that they were intended as jokes, but missed the target. Rather than mocking the use of reduce, I think his goal was probably to defend the utility of the humble for loop. On a larger level, both he and I have a concern that people often assume &amp;quot;a sufficiently clever compiler&amp;quot; without…&lt;/p&gt;&lt;p&gt;&lt;a href="https://hackerpaper.kaipfister.de/p/1611.07612/"&gt;Paper and discussion history&lt;/a&gt;. A mention is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item><item><title>Faster Population Counts Using AVX2 Instructions — HN submission</title><link>https://news.ycombinator.com/item?id=13032808</link><guid isPermaLink="false">urn:hackerpapers:submission:1611.07612:13032808</guid><pubDate>Thu, 24 Nov 2016 21:13:45 GMT</pubDate><description>&lt;p&gt;Faster Population Counts Using AVX2 Instructions&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;15 points; 0 discussion replies on HN. &lt;a href="https://hackerpaper.kaipfister.de/p/1611.07612/"&gt;Paper and source history&lt;/a&gt;. A submission is not an endorsement.&lt;/p&gt;</description><category>cs.DS</category></item></channel></rss>
