Originally posted by atomsymbol
Announcement
Collapse
No announcement yet.
GCC Lands Loop Splitting Optimization
Collapse
X
-
- Likes 3
-
I bet this in some cases gives a 4x+ speedup since removing inner-loop conditionals also allows for autovectorization, so the split result is vectorizable, it will give a really good speed-up.
- Likes 1
Leave a comment:
-
Originally posted by efikkan View PostThis sort of optimizations probably only benefits select codebases, especially since this kind of problem is actually a "design fault".
- Likes 1
Leave a comment:
-
This sort of optimizations probably only benefits select codebases, especially since this kind of problem is actually a "design fault".
Any codebase receiving any significant improvement from this is probably riddled with similar or worse "defects", the only answer is to rewrite it properly. Compiler optimizations are great (for small isolated things), but they can only go so far, and they can never bad code into good code.
- Likes 1
Leave a comment:
-
GCC Lands Loop Splitting Optimization
Phoronix: GCC Lands Loop Splitting Optimization
The latest GCC 7 development code has an optimization pass now for loop splitting...
Tags: None
Leave a comment: