3 ms·
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 w
by AstralStorm 10y ago
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 http://0x80.pl/articles/sse-popcount.html
- gpderetta 10y agoThere is no sse usage in the popcnt example posted by the OP. That's probably why you are getting downvoted.