3 ms·
> ...Meanwhile assembly is just a bunch of homogenous gunk to optimizers I wouldn't expect an assembler try to apply any further optimizations to my assembly c
by flohofwoe 4y ago
> ...Meanwhile assembly is just a bunch of homogenous gunk to optimizers
I wouldn't expect an assembler try to apply any further optimizations to my assembly code, that would be indeed quite pointless.
For any specific problem, a human writing assembly code will almost always be able to exploit weird loopholes in a specific CPU instruction set that a compiler for a high level general programming language won't be able to (unless we're going into the realm of superoptimization via brute-force trial-and-error where an optimizer may eventually arrive at the same tricks that an anarchist assembly programmer would do).