awesome, it's not every day you run across a useful, easy optimization missing from all of LLVM, GCC, and Intel CC http://lists.llvm.org/pipermail/llvm-dev/2017-October/118476.html …
-
Show this thread
-
Replying to @johnregehr
Dangerous. Changing the order of multiplication might get you into over/underflow territory.
1 reply 0 retweets 4 likes -
Replying to @andreasdotorg @johnregehr
For integers it doesn't matter does it? (a*b)*c overflows exactly when a*(b*c) or (a*c)*b does, afaict.
2 replies 0 retweets 1 like -
For floats it can certainly change the result, so this opt can only be done in fast-math.
1 reply 0 retweets 0 likes -
-
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.