Re:How much your computer can do in a second (2015)
by jrockway on Saturday July 11, 2020 @03:36PM
(#23805152)
gcc and clang both perform this optimization for me at -O3.
[ Parent
| on HN ]
Re:How much your computer can do in a second (2015)
by martincmartin on Saturday July 11, 2020 @03:42PM
(#23805222)
Thanks. On godbolt, I see clang do it at -O3. But gcc still has a loop, where the body has add but no mul, although I don't fully understand the body. Where do you see it in gcc?