Help with identifing all cost models in GCC to make it adaptable ?..
David Edelsohn
dje@watson.ibm.com
Thu Jul 31 22:58:00 GMT 2008
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
More information about the Gcc
mailing list