3 ms·
I wonder if GCC still has a codegen edge over clang. I know it used to. No idea if it’s still the case.
by pizlonator 4y ago
I wonder if GCC still has a codegen edge over clang.
I know it used to. No idea if it’s still the case.
- aew4ytasghe5 4y agoFor x86 in certain cases, I think gcc produces better code still. But x86_64 / aarch64 looks different, and there I would assume the gap between gcc/clang is not big. Would be cool to hear more about this.
- sanxiyn 4y agoI think GCC had an edge up to 2020 or so, mainly thanks to its better inliner. I should check this again now LLVM's inliner rewrite landed.