3 ms·
I still want to see the estimated distance heuristic (https://dspace.library.uvic.ca/bitstream/handle/1828/7107/Burroughs_Ivan_PhD_2016.pdf https://dspace.libra
by moonchild 4y ago
I still want to see the estimated distance heuristic (https://dspace.library.uvic.ca/bitstream/handle/1828/7107/Burroughs_Ivan_PhD_2016.pdf https://dspace.library.uvic.ca/bitstream/handle/1828/7107/Bu...) in a modern compiler.
- DannyBee 4y agoVariants of this have been tried. What are you hoping for?
- moonchild 4y ago> Variants of this have been tried Have a link?
- DannyBee 4y agoHonestly, no, because it's been decades at this point. While not as formally written down, this is the most common way that profiling info was ever used in RA. Using both the execution frequency and use distance to calculate which registers should be spilled and where to spill them was done even in toy research compilers when I was heavy into this part of the world. I remember seeing implementations in IBM's XLC, at least two of the RA's we implemented in GCC did this, etc.