[sel-sched] Improve calculation of target register availability

Andrey Belevantsev abel@ispras.ru
Thu Dec 27 16:28:00 GMT 2007


Hello,

These two small patches resulted from fixes of the previous patch. 
First, when caching dependence queries, we must account for the case 
when an expression does not change during propagation, but its target 
register becomes unavailable.  This is true for separable expressions 
which have dependencies in LHS.  In this case, we must set appropriate 
bit in the expression data.

Second, the changes resulted in some degradation of performance, which 
was fixed by sorting the resulting ready list once again.  Also, now we 
always form extended basic block regions in the situation when regular 
region forming gives up and decides to schedule single basic blocks. 
This partly fixes the perlbmk performance regression.

Tested on ia64, committed to sel-sched branch.
Andrey
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cache-move-as-rhs.clg
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20071227/84d68b6b/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: sorting-fixes.clg
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20071227/84d68b6b/attachment-0001.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cache-move-as-rhs.diff
Type: text/x-patch
Size: 6742 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20071227/84d68b6b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sorting-fixes.diff
Type: text/x-patch
Size: 3309 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20071227/84d68b6b/attachment-0001.bin>


More information about the Gcc-patches mailing list