HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by jrockway | Hacker News Reader
Parent
Full thread
jrockway
·
gcc and clang both perform this optimization for me at -O3.
View on HN
martincmartin
·
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?
https://godbolt.org/z/sP194Y
Reply on news.ycombinator.com