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] New Optimization: Partitioning hot & cold basic blocks


Perhaps I'm not looking hard enough, but how do you handle branches
between the hot and cold sections?  Most targets don't have 
and conditional branche that can span arbitrary distances, directly
or indirectly.  Similarly, direct branches may need to be turned into
indirect branches in order to reach.

I'd also like to see changes to dwarf2 output so that this split is
properly represented in the debug info.  Given that this feature is
not enabled except via explicit switch, this isn't imperitive, but
it should be done once this patch is accepted.


r~


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