Re:Decreasing the Number of Memory Accesses 1/2
by mhh__ on Friday March 31, 2023 @04:41AM
(#35384297)
Compilers have been doing this for a long time already.
[ Parent
| on HN ]
Re:Decreasing the Number of Memory Accesses 1/2
by planede on Friday March 31, 2023 @05:13AM
(#35384455)
I would have expected so, but gcc doesn't seem to do it for the article's example (didn't try other compilers):
Re:Decreasing the Number of Memory Accesses 1/2
by adpcm on Friday March 31, 2023 @07:53AM
(#35385655)
There existerar some 10+ year old patches to do so, which where never accepted/merged.
https://github.com/wichtounet/gcc-loop-fusion/commits/master...