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: [PATCH] FOR_EACH_RTX construct to replace for_each_rtx


Paolo Bonzini wrote:
This patch achieves a good speedup on bootstrap (all languages):

The macro still looks rather heavyweight. Before for_each_rtx existed, we used to have lots of functions walking rtl recursively themselves. Have you tried whether going back to that idiom would speed things up even further? If yes, maybe we should keep using for_each_rtx in places that aren't performance critical, and explicit rtl walking otherwise.



Bernd



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