Re:Hand-Coded Assembly Beats Intrinsics in Speed and Simplicity
by comex on Tuesday August 11, 2015 @04:22PM
(#10044089)
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.
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.