search for: csrcostforspilt

Displaying 3 results from an estimated 3 matches for "csrcostforspilt".

2017 Nov 16
2
Less aggressive on the first allocation of CSR if detecting an early exit
...turned cost for both spilling and splitting is going to be the sum of the frequencies where the split/spill happen and given the spill and copy have different cost, we may want to have different comparison. E.g., CSRCostForSpill = 5 (ok to trade against more than 5 executed spill/reload) but CSRCostForSpilt = 20 (ok to trade against more than 20 executed copies) If this is what you meant here, is the CSRCostForSpilt the actual cost directly comparable with the split cost? Or, it should be multiplied with the entry frequency to be comparable with the split cost, considering that the CSRCost is the...
2017 Nov 17
2
Less aggressive on the first allocation of CSR if detecting an early exit
...> splitting is going to be the sum of the frequencies where the >> split/spill happen and given the spill and copy have different cost, >> we may want to have different comparison. >> E.g., CSRCostForSpill = 5 (ok to trade against more than 5 executed >> spill/reload) but CSRCostForSpilt = 20 (ok to trade against more >> than 20 executed copies) >> >> If this is what you meant here, is the CSRCostForSpilt the actual >> cost directly comparable with the split cost? >> Or, it should be multiplied with the entry frequency to be >> comparable with t...
2017 Nov 10
2
Less aggressive on the first allocation of CSR if detecting an early exit
On 2017-11-10 07:47, Nemanja Ivanovic wrote: > One thing I thought about doing a while back and never really wrote a > POC for is the following: > - Make FirstCSRCost a property of the MachineBasicBlock (or create a > map of MBB* -> FirstCSRCost) > > - Implement a pre-RA pass that will populate the map as follows: > > - Identify all blocks with calls > > -