3 ms·
No idea whether ICC is still worth paying for From my experience, ICC is far more reluctant to exploit UB, yet still generates very good code.
by userbinator 7y ago
No idea whether ICC is still worth paying for
From my experience, ICC is far more reluctant to exploit UB, yet still generates very good code.
- saagarjha 7y agoICC exploits the standard itself: it generates code that is technically incorrect.
- mehrdadn 7y agoWhat do you mean?
- saagarjha 7y agoAs Patrick mentions, ICC generates code that doesn't follow IEEE-754: https://news.ycombinator.com/item?id=20437375 https://news.ycombinator.com/item?id=20437375 (I should have mentioned I was talking about that rather than the C standard).
- mehrdadn 7y agoOh I see, you're talking about floating point. So basically ICC has -ffast-math (or -funsafe-math-optimizations) on by default, and you can turn it off with an explicit flag? I see this as more of a philosophical difference than a material one since you can just add or remove the flag on either one...