News for hackers. Stuff that matters.
Re:GodBolt: Enter C, get Assembly by AstralStorm on Thursday December 15, 2016 @04:36AM (#13183461)
The latter is generally not faster on most modern chips. Results in similar microcode to non vectoring assembly, but you need to put data in the SSE registers which is not free.

A smart compiler would not use the new SSE version. (perhaps you didn't set the flags right?)

This is why: http://0x80.pl/articles/sse-popcount.html

Re:GodBolt: Enter C, get Assembly by gpderetta on Thursday December 15, 2016 @07:59AM (#13184263)
There is no sse usage in the popcnt example posted by the OP. That's probably why you are getting downvoted.