This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Update MOVE_RATIO for profile


On Sun, Aug 31, 2008 at 12:48 PM, Jan Hubicka <jh@suse.cz> wrote:
> Hi,
> this patch adds speed argument to MOVE_RATIO/CLEAR_RATIO/SET_RATIO macros.
> This mostly complettes transition of costs to profile with exception of
> MOVE_COST macros.  I have patch for those too, but they have little effect
> and thus I would like to deffer it for next stage1.
>
> Bootstrapped/retested x86_64-linux, additionally I've tested
> to build all modified targets except for alpha.  In separate patch I will send fixes
> for problems I introduced in previous RTX_COST update and some dataflow updating I noticed
> during the process.
>
> I will commit it tomorrow if there are no complains.
>
>        * expr.c (MOVE_BY_PIECES_P, CLEAR_BY_PIECES_P, SET_BY_PIECES_P): Pass speed operand.
>        * expr.h (MOVE_RATIO, CLEAR_RATIO, SET_RATIO): Update.
>        * gimplify.c (gimplify_init_constructor): Add speed operand.
>        * tree-sra.c (decide_block_copy): Likewise.
>        * tree-inline.c (estimate_move_cost): Likewise.
>        * config/alpha/alpha.h (MOVE_RATIO): Update.
>        * config/frv/frv.c (MOVE_RATIO): Update.
>        * config/spu/spu.h (MOVE_RATIO): Update.
>        * config/sparc/sparc.h (MOVE_RATIO): Update.
>        * config/i386/i386.h (MOVE_RATIO, CLEAR_RATIO): Update.
>        * config/m68hc11/m68hc11.h (MOVE_RATIO): Update.
>        * config/cris/cris.h (MOVE_RATIO): Update.
>        * config/mn10300/mn10300.h (MOVE_RATIO): Update.
>        * config/arm/arm.h (MOVE_RATIO): Update.
>        * config/pa/pa.md: Update uses of MOVE_RATIO
>        * config/pa/pa.h (MOVE_RATIO): Update.
>        * config/mips/mips.h (MOVE_RATIO, MOVE_BY_PIECES, CLEAR_RATIO, SET_RATIO): Update.
>        * config/h8300/h8300.h (MOVE_RATIO): Update.
>        * config/v850/v850.h (MOVE_RATIO): Update.
>        * config/bfin/bfin.h (MOVE_RATIO): Update.

Hi,

I think it causes

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37338


H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]