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: [rtlopt] Store motion rewrite


On Thu, 13 Feb 2003, Zdenek Dvorak wrote:

> Hello,
> 
> this rewrite should make store motion more useful (it now works 300
> times on gcc compilation, as oposed to 3 reported by Daniel Berlin
> in http://gcc.gnu.org/ml/gcc/2002-05/msg01136.html). There are still
> more things I would like it to manage (it should be much more clever
> in moving stores out of loops, most importantly).
> 
> I am commiting it into rtlopt branch so that it gets tested/benchmarked.
> 
> Zdenek

...
*** 568,574 ****
    allocate_reg_info (max_reg_num (), FALSE, FALSE);
  
    /* Store motion disabled until it is fixed.  */
!   if (0 && !optimize_size && flag_gcse_sm)
      store_motion ();
    /* Record where pseudo-registers are set.  */
    return run_jump_opt_after_gcse;
--- 568,574 ----
    allocate_reg_info (max_reg_num (), FALSE, FALSE);
  
    /* Store motion disabled until it is fixed.  */
!   if (!optimize_size && flag_gcse_sm)
      store_motion ();
    /* Record where pseudo-registers are set.  */
    return run_jump_opt_after_gcse;

You reenabled the storemotion, so you may want to remove the comment
regarding the store motion being disabled.

Toshi



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