Y
Hacker News
new
|
ask
|
show
|
jobs
by
umanwizard
2358 days ago
For example:
https://godbolt.org/z/m3xSse
1 comments
huhtenberg
2357 days ago
How is basic loop unrolling is "not even close" to the expected result when you explicitly ask for optimization with O3?
link
umanwizard
2357 days ago
This isn’t basic loop unrolling; it’s replacing an entire loop with a closed form mathematical formula.
link
huhtenberg
2357 days ago
It's a form of loop unrolling. Regardless of the term, this is still very much in the ballpark of what you'd expect when asking for optimization.
link