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: How to test for Haifa ?



  In message <Pine.LNX.4.04.9811260936360.12770-100000@earth.terran.org>you wri
te:
  > Hello,
  > 
  > 	I have previously been building the pre-release egcs snapshots
  > myself on my DEC AlphaStation (running Linux) with Haifa scheduling
  > enabled.  However, I recently grabbed the egcs-1.1 RPM from
  > rawhide.redhat.com and plugged that in.  Now I'm wondering if there is a
  > way I can test for the presence of the Haifa scheduler, perhaps from
  > analyzing assembled output?
Compile a trivial file with -O2 -dS and look at the resulting *.sched file.

If you see stuff like this, then haifa was enabled.

;;   ==================== scheduling visualization for block 0  
[ ... ]

If no such line exist, then you're using the old scheduler.

jeff


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