On 07/31/2017 05:25 PM, Segher Boessenkool wrote: > This introduces a hook to implement insn_cost. If a target does not > implement the hook, the old function (i.e. pattern_cost) is used. > > --- > gcc/doc/tm.texi | 12 ++++++++++++ > gcc/doc/tm.texi.in | 2 ++ > gcc/rtlanal.c | 3 +++ > gcc/target.def | 14 ++++++++++++++ > 4 files changed, 31 insertions(+) Looks reasonable as well.
jeff