3 ms·
Actually, it's not as good, because it doesn't take into account the false dependency issue - the register ebx is reused for three of the popcnts, making it imp
by comex 11y ago
Actually, it's not as good, because it doesn't take into account the false dependency issue - the register ebx is reused for three of the popcnts, making it impossible for them to execute in parallel on the buggy processors.
But it's not out of the question that MSVC is better with intrinsics in general... I don't have any experience with it myself.