Re: [PATCH 3/3] Add targetm.insn_cost hook

2017-10-11 Thread Segher Boessenkool
Hi! On Wed, Oct 11, 2017 at 05:39:25PM -0600, Sandra Loosemore wrote: > On 10/09/2017 01:35 PM, Segher Boessenkool wrote: > >This adds a new hook that the insn_cost function uses if a target has > >implemented it (it uses the old pattern_cost nee insn_rtx_cost if not). > As a target maintainer, I

Re: [PATCH 3/3] Add targetm.insn_cost hook

2017-10-11 Thread Sandra Loosemore
On 10/09/2017 01:35 PM, Segher Boessenkool wrote: This adds a new hook that the insn_cost function uses if a target has implemented it (it uses the old pattern_cost nee insn_rtx_cost if not). I'll commit this now; it was okayed by Jeff at https://gcc.gnu.org/ml/gcc-patches/2017-08/msg00204.html

[PATCH 3/3] Add targetm.insn_cost hook

2017-10-09 Thread Segher Boessenkool
This adds a new hook that the insn_cost function uses if a target has implemented it (it uses the old pattern_cost nee insn_rtx_cost if not). I'll commit this now; it was okayed by Jeff at https://gcc.gnu.org/ml/gcc-patches/2017-08/msg00204.html . Segher 2017-10-09 Segher Boessenkool