[NDS32] Implment ADJUST_REG_ALLOC_ORDER for performance requirement.
authorChung-Ju Wu <jasonwucj@gmail.com>
Sat, 17 Mar 2018 13:06:12 +0000 (13:06 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Sat, 17 Mar 2018 13:06:12 +0000 (13:06 +0000)
commit5e6ae0ccbb98cbe8b17080f69b43be089acba2f5
treef282ead8e45d437452f0e40406072fd28fffd113
parent5af50159079d2f37118e4eaa6dd269be5d6e1506
[NDS32] Implment ADJUST_REG_ALLOC_ORDER for performance requirement.

gcc/
* config/nds32/nds32-protos.h (nds32_adjust_reg_alloc_order): Declare.
* config/nds32/nds32.c (nds32_reg_alloc_order_for_speed): New array.
(nds32_adjust_reg_alloc_order): New function.
* config/nds32/nds32.h (ADJUST_REG_ALLOC_ORDER): Define.

Co-Authored-By: Kito Cheng <kito.cheng@gmail.com>
From-SVN: r258621
gcc/ChangeLog
gcc/config/nds32/nds32-protos.h
gcc/config/nds32/nds32.c
gcc/config/nds32/nds32.h