Re: [Patch 1/4] Hookize MOVE_BY_PIECES_P, remove most uses of MOVE_RATIO

2014-09-26 Thread Richard Biener
On Thu, Sep 25, 2014 at 5:08 PM, Steven Bosscher wrote: > On Thu, Sep 25, 2014 at 4:57 PM, James Greenhalgh wrote: >> * doc/tm.texi.in (MOVE_BY_PIECES_P): Reduce documentation to a stub >> describing that this macro is deprecated. > > Remove it entirely and poison it in system.h? >

Re: [Patch 1/4] Hookize MOVE_BY_PIECES_P, remove most uses of MOVE_RATIO

2014-09-25 Thread Steven Bosscher
On Thu, Sep 25, 2014 at 4:57 PM, James Greenhalgh wrote: > * doc/tm.texi.in (MOVE_BY_PIECES_P): Reduce documentation to a stub > describing that this macro is deprecated. Remove it entirely and poison it in system.h? It takes changes to only a few targets: mips, arc, s390, and sh.

[Patch 1/4] Hookize MOVE_BY_PIECES_P, remove most uses of MOVE_RATIO

2014-09-25 Thread James Greenhalgh
Hi, This patch started off by Hookizing MOVE_RATIO, but pulling on that thread made it clear that most users of MOVE_RATIO really want to know whether move_by_pieces is going to be used or not. For that we have MOVE_BY_PIECES_P. We can hookize this, and clean up most other callers of MOVE_RATIO.