]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/nds32/nds32.c
Move cost calculation to nds32-cost.c module.
authorChung-Ju Wu <jasonwucj@gmail.com>
Fri, 4 Jul 2014 07:31:24 +0000 (07:31 +0000)
committerChung-Ju Wu <jasonwucj@gcc.gnu.org>
Fri, 4 Jul 2014 07:31:24 +0000 (07:31 +0000)
commit89a4b5475a3acad57f6dc48ae575ea4580fba604
treee1125460ae7bf9c91443b30e3e3d94658da5d842
parent6a2a98b1a658893ecb790c90614900d7bf8bd022
Move cost calculation to nds32-cost.c module.

gcc/
* config/nds32/nds32.c (nds32_rtx_costs): Move implementation to ...
(nds32_address_cost): Move implementation to ...
* config/nds32/nds32-cost.c: ... here.
* config/nds32/nds32-protos.h (nds32_rtx_costs_impl): Declare.
(nds32_address_cost_impl): Declare.

Co-Authored-By: Kito Cheng <kito@0xlab.org>
Co-Authored-By: Monk Chiang <sh.chiang04@gmail.com>
From-SVN: r212284
gcc/ChangeLog
gcc/config/nds32/nds32-cost.c
gcc/config/nds32/nds32-protos.h
gcc/config/nds32/nds32.c