Re:Do Not Taunt Happy Fun Branch Predictor
by magicalhippo on Wednesday January 25, 2023 @06:48PM
(#34525859)
Another is that your assembly will never target newer CPUs, but the compiler will.
I've gained a lot of performance by replacing handwritten assembly functions with plain code versions, just because CPUs and compilers have evolved over the last 15-20 years, while that assembly code is what it is.
I've gained a lot of performance by replacing handwritten assembly functions with plain code versions, just because CPUs and compilers have evolved over the last 15-20 years, while that assembly code is what it is.