public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* SMS parameters
@ 2004-11-26 14:17 Nathan Sidwell
  0 siblings, 0 replies; 2+ messages in thread
From: Nathan Sidwell @ 2004-11-26 14:17 UTC (permalink / raw)
  To: gcc

The following sms parameters exist.

max-sms-loop-number
sms-max-ii-factor
sms-dfa-history
sms-loop-average-count-threshold

None of these are documented in invoke.texi.

The first one is odd, as its help string says,
   "Maximum number of loops to perform swing modulo scheduling on \
	  (mainly for debugging)"
and its implementation is via a static counter that counts bbs in a *program*

   static int passes = 0;
   ...
   FOR_EACH_BB (bb)
      ...
      /* For debugging.  */
      if ((passes++ > MAX_SMS_LOOP_NUMBER) && (MAX_SMS_LOOP_NUMBER != -1))

it doesn't look like a particularly sensible thing to expose.  If
it must be exposed, it should probably be called 'sms-max-loop-number'.
Notice the fence-post error there, we'll actually schedule 1 more
than MAX_SMS_LOOP_NUMBER.

nathan
-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-11-29  7:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <OF3E4E9FA9.D93D01B8-ONC2256F5A.003AC37E-C2256F5A.003AC996@LocalDomain>
2004-11-29  9:59 ` SMS parameters Mostafa Hagog
2004-11-26 14:17 Nathan Sidwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).