I give up, dude. Your original claim was that if people wrote high-performance C++ code they could use -O0, and the fact that they don't is evidence that the "compiler knows better than they do." I've given you TONS of evidence that's blatantly false.
-
-
That would be different if compilers used superoptimization. Superoptimizers frequently beat LLVM and GCC by a factor of 2-5x and human assembly programmers by about 1.5x or so (on average). From my understanding, compiler engineers generally don't like it because the code it
-
Produces is practically obfuscated. It'll find some bizarre string of esoteric bitwise instructions that does the same thing as your original code, but twice as fast. If you're trying to understand the assembly produced, it's not helpful. So compiler devs generally avoid it.
- Show replies
New conversation -
-
-
I think people see things generally as what they could be, not what they actually are
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.