4 ms·
> Variants of this have been tried Have a link?
by 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.