OSDN Git Service

* Makefile.in: Add $(TARGET_H) to the regrename.o rule.
authorqiyao <qiyao@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Dec 2010 12:28:46 +0000 (12:28 +0000)
committerqiyao <qiyao@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Dec 2010 12:28:46 +0000 (12:28 +0000)
commitd78118a326f1b98e028718a25950680264fb9cdd
tree950a823eefdfe7224b81c1148fa0eb418429dda3
parent0aecb55e5817988f256f6aca95e68dd2504b97c1
    * Makefile.in: Add $(TARGET_H) to the regrename.o rule.
        * regrename.c (struct du_head): Add new element length.
        (sort_du_head, get_element, merge, merge_sort_comparison):
        New functions of merge sort implementation to du_head list.
        (regrename_optimize): Sort du_head linked list by length.
        Iterate registers in a preferred-register-first order.
        Move some code to ...
        (check_new_reg_p): here.  New function.
        (create_new_chain):  Initialize length.
        (scan_rtx_reg): Increase length for non-debug insns.
        * target.def: New hook preferred_rename_class.
        * targhook.c (default_preferred_rename_class): New.
        * targhook.h: Declare it.
        * doc/tm.texi.in: New hook TARGET_PREFERRED_RENAME_CLASS.
        * doc/tm.texi: Regenerate.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167534 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/Makefile.in
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/regrename.c
gcc/target.def
gcc/targhooks.c
gcc/targhooks.h