On 5/27/24 11:51 AM, Hans-Peter Nilsson wrote:
The code in resource.cc is exclusively used by the delay-slot-filling
machinery: the "dbr" pass in reorg.cc, sometimes referred to just as
"reorg".  Its implementation is quite arcane, scanning RTL, with only
a little dash of cfgrtl.  I'm sure some think that rather than fixing
this machinery, it better die with architectures having delay-slots.
Those people will hopefully still enjoy these patches, as the bulk is
code removal.
Well, I always wanted it changed to use the scheduler's dependency analysis code to give us the candidate set of insns for delay slot filling rather than doing a bespoke life analysis. But we never got that implemented and delay slot architectures have diminished in their importance over the last 25 years :-)

Jeff

Reply via email to