------- Comment #7 from rguenth at gcc dot gnu dot org  2005-12-09 11:51 -------
> 2) If you do reorder the blocks, you should not merge indirect
> branches on CPUs with BTBs, for better branch prediction.

I would rather say that you should not merge frequently executed
indirect branches.  There is certainly an upper bound of indirect
branches after that merging is profitable again, and only disabling
merging of frequently executed (from profile feedback) indirect
branches and retaining merging of the seldom executed ones will
probably be the best idea.


-- 


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

  • [Bug rtl-optimization/... rguenth at gcc dot gnu dot org

Reply via email to