This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to test for Haifa ?
- To: "B. James Phillippe" <bryan at terran dot org>
- Subject: Re: How to test for Haifa ?
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 26 Nov 1998 18:01:44 -0700
- cc: egcs Mailing List <egcs at cygnus dot com>
- Reply-To: law at cygnus dot com
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