This is the mail archive of the gcc@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: gcc/resource.c mark_target_live_regs Question


>>>>> "Richard" == Richard Henderson <rth@redhat.com> writes:

    >> We're making some assumption that reorg confuses everything,
    >> but not across BARRIERs?  Is that it?

    Richard> Exactly.

Ugh.  This is all rather unfortunate.

    >> mark_target_live_regs mark all registers live if
    >> find_basic_block goes back, say, more than 1000 instructions
    >> ...

    Richard> 50 or 100 is probably a better default.  Remember, that
    Richard> if you have N insns in the block you're still going to
    Richard> scan N**2/2 insns.

Yes, agreed.  Jeffrey, does this make sense to you?  You can use the 
--param thingy into set the throttle here.
 
--
Mark Mitchell                   mark@codesourcery.com
CodeSourcery, LLC               http://www.codesourcery.com


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