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]

Re: large peephole2 speedup.


On Sun, Apr 09, 2000 at 10:25:45AM -0700, Zack Weinberg wrote:
> This patch changes the peephole2 optimizer so that it uses flow.c
> routines to determine live registers, rather than resource.c. 

Whee.

> Note that find_free_register no longer has
> the ability to determine if a register remains available till later;
> no existing peephole needed that.

Bad, and not entirely true.  You can see one such example in
the D30V on condexec-branch.  We do still need the ability to
ask live/dead questions at any point in the matched sequence.



r~

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