r260411 - in /trunk/gcc: ChangeLog config/nds32...
jasonwucj@gcc.gnu.org
jasonwucj@gcc.gnu.org
Sun May 20 07:23:00 GMT 2018
Author: jasonwucj
Date: Sun May 20 07:23:39 2018
New Revision: 260411
URL: https://gcc.gnu.org/viewcvs?rev=260411&root=gcc&view=rev
Log:
[NDS32] Rewrite cost model.
gcc/
* config/nds32/nds32-cost.c (rtx_cost_model_t): New structure.
(insn_size_16bit, insn_size_32bit): New variables for cost evaluation.
(nds32_rtx_costs_impl): Simplify.
(nds32_address_cost_impl): Simplify.
(nds32_init_rtx_costs): New function.
(nds32_rtx_costs_speed_prefer): Likewise.
(nds32_rtx_costs_size_prefer): Likewise.
(nds32_address_cost_speed_prefer): Likewise.
(nds32_address_cost_speed_fwprop): Likewise.
(nds32_address_cost_size_prefer): Likewise.
* config/nds32/nds32-protos.h (nds32_init_rtx_costs): Declare.
* config/nds32/nds32.c (nds32_option_override): Use
nds32_init_rtx_costs function.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/nds32/nds32-cost.c
trunk/gcc/config/nds32/nds32-protos.h
trunk/gcc/config/nds32/nds32.c
More information about the Gcc-cvs
mailing list