home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!stanford.edu!unix!clipper!baxter
- From: baxter@clipper.ingr.com (Bill Baxter)
- Newsgroups: comp.arch
- Subject: Re: Code Repositioning on MIPS Systems?
- Summary: Yes there are companies that are repositioning within procedures
- Message-ID: <1992Jul31.163351.21192@clipper.ingr.com>
- Date: 31 Jul 92 16:33:51 GMT
- References: <32580130@hpcuhe.cup.hp.com> <32580131@hpcuhe.cup.hp.com>
- Organization: Intergraph Advanced Processor Division - Palo Alto, CA
- Lines: 37
-
- In article <32580131@hpcuhe.cup.hp.com>, daryl@hpcuhe.cup.hp.com (Daryl Odnert) writes:
- > According to the information I've been sent via e-mail, MIPS has a
- > postprocessor tool called "cord" which can reposition the procedures
- > within an executable file so that run time cache conflicts will
- > be reduced. The positioning is guided by information in "feedback
- > files" which are generated by the "prof" command with the -feedback
- > option.
- >
- > Does anyone know of any existing tools or planned enhancements to cord
- > that will reposition the basic blocks of code within procedures so that
- > taken conditional branches are reduced? Is anyone aware of any tools
- > or compilers that perform this optimization on ANY existing architecture?
- >
- > Daryl Odnert daryl@cup.hp.com
- > Hewlett-Packard
- > Cupertino, California
-
- Daryl,
-
- We published an article in the 1991 COMPCON proceedings and feedback directed
- optimizations on the C400 architecture. We don't exactly implement the
- algorithms in that paper, but the affect is pretty much the same.
- We use feedback directed optimi- zations to do such things as reorder
- conditional branches to reduces the frequency of branches taken, guide
- global register allocation, and speculative delay slot filling. We have
- used these optimizations for our SPEC publication, and they generally
- available in the compiler. In addition to the optimizations we currently
- perform and ones we will soon be performing, the feedback information is
- also valuable for programmer feedback. We have implemented instruction
- frequency analysis tools, call graph analysis tools, and test coverage
- generation tools.
-
-
- --
- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
- Bill Baxter Compiler Group: Advanced Processor Division (415)852-2333
- baxter@clipper.clipper.ingr.com ---- 2400 Geng Rd., Palo Alto, CA 94303
-