[sel-sched] Speed up the scheduler, improve bundling near calls

Andrey Belevantsev abel@ispras.ru
Tue May 13 08:32:00 GMT 2008


Hello,

These patches speed up the selective scheduler by improving two things. 
  The first patch tries to move the insn being scheduled whenever 
possible, instead of removing it and reemitting at the boundary (this is 
not expensive but itself, but the reinitialization of the insn data adds 
to it).  Also, the patch contains some cleanups and tidying.  The second 
patch gets the information about registers set/used by an insn from df 
instead of dependence analysis, when the information is available.  For 
the temporary insns we create but do not emit in the insn stream, we 
still have to use the old way.

The final patch by Alexander Monakov avoids splitting issue group before 
call instructions by adding a bypass in .md file and ignoring memory 
dependence in ia64_adjust_cost2, and also fixes an unrelated thinko.

Tested on ia64, committed to sel-sched branch.
Andrey
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: move-insn-and-tidy-cfg.clg
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080513/418060d1/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: init-id-from-df.clg
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080513/418060d1/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: monoid-bundling-calls.clg
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080513/418060d1/attachment-0002.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: monoid-bundling-calls.diff
Type: text/x-patch
Size: 2730 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080513/418060d1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: move-insn-and-tidy-cfg.diff
Type: text/x-patch
Size: 58080 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080513/418060d1/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: init-id-from-df.diff
Type: text/x-patch
Size: 7522 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080513/418060d1/attachment-0002.bin>


More information about the Gcc-patches mailing list