6 ms·
From my experience, Clang 5 on O2 will beat ICC with its libraries on its most aggressive optimization setting in real world large applications.
by VHRanger 9y ago
From my experience, Clang 5 on O2 will beat ICC with its libraries on its most aggressive optimization setting in real world large applications.
- wfunction 9y agoHas this recently changed (e.g. was it different from v4)? Or was it always the trend?
- VHRanger 9y agoFor numerically heavy software it's fairly recent. That said I cross compile a 15k LoC numerically heavy app with ICC 2017 and Clang 5 (also MSVC which is not really in the running) and clang handily beats ICC. Most of the win from clang seems to come from small vector and small string optimizations along with better inlining and whole program optimization. ICC has better vectorization, but it's a smaller part of the performance than it might seem. Moreover, if a core loop is banking on vectorization, you should probably code it in intrinsics at that point to make sure it's always correctly optimized
- wfunction 9y agoOh cool, okay thanks!
- CyberDildonics 9y agoSource?
- VHRanger 9y agoMy work
- CyberDildonics 9y agoLet's see a link then.
- deleted 9y ago[deleted]