This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Help with identifing all cost models in GCC to make it adaptable ?..
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: "Grigori Fursin" <grigori dot fursin at inria dot fr>
- Cc: "'gcc'" <gcc at gcc dot gnu dot org>
- Date: Thu, 31 Jul 2008 15:43:59 -0400
- Subject: Re: Help with identifing all cost models in GCC to make it adaptable ?..
- References: <48920dd9.0305560a.0c68.0d8c@mx.google.com>
Grigori,
Many of the costs now are handled by GCC parameters. See
gcc/params.def accessed in the source code using PARAM_VALUE.
Many other cost models use macros with "COST in their name, such as
TARGET_RTX_COSTS / rtx_cost
BRANCH_COST (and LOGICAL_OP_NON_SHORT_CIRCUIT)
MEMORY_MOVE_COST
REGISTER_MOVE_COST
MAX_CONDITIONAL_EXECUTE
David