2 ms·
How is basic loop unrolling is "not even close" to the expected result when you explicitly ask for optimization with O3?
by huhtenberg 7y ago
How is basic loop unrolling is "not even close" to the expected result when you explicitly ask for optimization with O3?
- umanwizard 7y agoThis isn’t basic loop unrolling; it’s replacing an entire loop with a closed form mathematical formula.
- huhtenberg 7y agoIt'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.