[rtlopt] Store motion rewrite
tm_gccmail@mail.kloo.net
tm_gccmail@mail.kloo.net
Thu Feb 13 21:25:00 GMT 2003
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
More information about the Gcc-patches
mailing list