Re: ia64 dispersal analysis capability

From: James E Wilson <>
Date: 2005-09-22 07:47:40
On Wed, 2005-09-21 at 11:23, Jack Steiner wrote:
> In 2002, Gary Hade posted a patch to binutils that added dispersal
> analysis to the output of objdump. Does anyone know what happened to
> the patch? Is there another tool that provides the same information?

As for the "other tool" part of this question, you can get some info
from gcc by using -fsched-verbose=2 -fdump-rtl-sched1 -fdump-rtl-mach.
This will give you a lot of info about what the gcc instruction
scheduler did, but the interesting stuff is in the  "--> " lines in the
*.mach file.  This will give you lines like
;;        1--> 11   r14=[r14]                          :2_M_only_um01
which gives you the cycle number (1), the gcc internal instruction
number (11), an abstract representation of what the instruction does
(r14=[r14]), and the scheduling unit info (2_M_only_um01).  The 2 stands
for Itanium2.  The M stands for a memory unit.  The only_um01 means it
must be scheduled to one of the first two memory units.

This info is to help gcc developers debug instruction scheduler related
problems, and isn't really meant to be easily readable by end users, but
you may find it useful.

Actually, the above command only works for gcc-4.  For gcc-3, just use
-fsched-verbose=2 -da and ignore the non-scheduler related dump files.

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to
More majordomo info at
Received on Thu Sep 22 07:50:08 2005

This archive was generated by hypermail 2.1.8 : 2005-09-22 07:50:15 EST