Re: [Patch 2/4] Hack out a use of MOVE_RATIO in tree-inline.c

2014-09-26 Thread Richard Biener
On Thu, Sep 25, 2014 at 4:57 PM, James Greenhalgh wrote: > > Hi, > > This patch hookizes the use of MOVE_RATIO in > tree-inline.c:estimate_move_cost as TARGET_ESTIMATE_BLOCK_COPY_NINSNS. > This hook should return an estimate for the number of instructions > which will be emitted to copy a block of

[Patch 2/4] Hack out a use of MOVE_RATIO in tree-inline.c

2014-09-25 Thread James Greenhalgh
Hi, This patch hookizes the use of MOVE_RATIO in tree-inline.c:estimate_move_cost as TARGET_ESTIMATE_BLOCK_COPY_NINSNS. This hook should return an estimate for the number of instructions which will be emitted to copy a block of memory. tree-inline.c uses this in inlining heuristics to estimate t