public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Haifa: Why? Why not?
@ 1998-01-08  6:05 Andrew Borthwick
  1998-01-10 21:39 ` Jeffrey A Law
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Borthwick @ 1998-01-08  6:05 UTC (permalink / raw)
  To: egcs

Hi,

     Could somebody give me a brief pro and con for using the "enable haifa"
option?  I would be using this on a sparc-sun-solaris version 2.5.1.

     In particular, how significant is the speed-up?  Are there any risks?  Can
Haifa be turned on and off dynamically?

Thanks,
Andrew Borthwick



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

* Re: Haifa: Why? Why not?
  1998-01-08  6:05 Haifa: Why? Why not? Andrew Borthwick
@ 1998-01-10 21:39 ` Jeffrey A Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1998-01-10 21:39 UTC (permalink / raw)
  To: Andrew Borthwick; +Cc: egcs

  In message < Pine.GSO.3.92.980108084800.24745A-100000@johnson.cs.nyu.edu >you w
rite:
  > Hi,
  > 
  >      Could somebody give me a brief pro and con for using the "enable haifa"
  > option?  I would be using this on a sparc-sun-solaris version 2.5.1.
Haifa has two main goals:

  * Better scheduling for superscalar architectures.  To actually get the
  most out of haifa old hacks done to make the old scheduler generate
  reasonable code must be removed.  In the development tree, the PA,
  rs6000 and alpha I think have been tuned in this manner for haifa.

  * Better scheduling by allowing cross block scheduling of the critical
  path.  However, the superscalar issues tend to dominate cross block
  scheduling improvements.

I was seeing ~8% performance improvement for floating point code on PAs.


Are there any risks?  Just the typical ones when using relatively new
code.  I'm not aware of any code generation bugs in the haifa scheduler.

Haifa is a configure time option.

scheduling passes (in general) are runtime options.

jeff

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

end of thread, other threads:[~1998-01-10 21:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-01-08  6:05 Haifa: Why? Why not? Andrew Borthwick
1998-01-10 21:39 ` Jeffrey A Law

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).