Feedback Optimizer

Len Lattanzi len at synthesis.Synthesis.COM
Thu Mar 16 19:35:07 AEST 1989


In article <8903151749.AA06746 at masig1.ocean.fsu.edu> mccalpin at MASIG1.OCEAN.FSU.EDU ("John D. McCalpin") writes:
:So, does anyone know what to do with the feedback file created by
:'prof -pixie -feedback feedback_file' to make the compiler/optimizer
:use it?
:--
My data is based on Mips Compilers version 1.31 (use f77 -V to verify your
version)
There are two supported uses for feedback files.
1) Cache reorganizer
	prof -pixie -feedback fb
	f77 -cord -feedback fb -o xxx ....
   You should have a new binary whose procedures are organized to cause
   minimal cache conflicts when run in the same configuration as the feedback
   run
2) Inliner
	f77 -O3 -feedback -o xxx ....
   This option gives umerge hints about inlining based on your feedback run.
   I say hints because it's not always advantageous to inline. (Or are you
   running Dhrystone :-)
I will let MIPS know about the missing uopt/umerge man pages. 


 Len Lattanzi (len at Synthesis.com) <{ames,pyramid,decwrl}!mips!synthesis!len>
 Synthesis Software Solutions, Inc.				1 408 991 0367
 292 Commercial Avenue, Sunnyvale, California 94086



More information about the Comp.sys.sgi mailing list