Re:Optimizing your programs for Arm platforms
by astrange on Friday April 26, 2024 @11:44PM
(#40176988)
You need restrict for a loop involving char* or equivalent because it can alias any type in C. Without it, the compiler has to preserve memory accesses exactly, and then it's hardly able to do any optimizations. If you're writing all the memory accesses out perfectly optimally already, then you don't need the compiler for much.
[ Parent
| on HN ]
There are no comments on this comment yet.