i960 Processor Compiler User's Guide
6-8
6
Input Profile Control
• iprof=
file
This control causes the profile information in
file
to be incorporated into
program-wide optimization decisions.
file
is a raw profile or a self-
contained profile.
See Chapter 4 for a discussion of profiles.
Fast Memory Controls
sram=
hexstart,hexend[,hexstart,hexend]...
m=
hexstart,hexlen[,hexstart,hexlen]...
The compilation system optimizes software to exploit on-chip cache and
data RAM areas when you specify the architecture with the
-A option.
This optimization attempts to place the most heavily accessed data and
variables in fast RAM. The
gcdm option lets you identify other SRAM
areas that are available in a system.
Memory regions have an implicit order ranking with respect to the
optimization tools; the left-most region specified is assumed to be the most
desirable. Thus, the tools attempt to place the most heavily referenced
variables into the first memory region specified. When that region is full,
the tools begin placing variables into the second region specified.
For example, the control
m=Ox210,Ox3F0 places the most heavily
referenced variables in an SRAM address beginning at
Ox210. Ox3F0
specifies the length of the memory range to be used for this purpose.
Using the
sram=Ox100,Ox3ff control indicates to the system that the
memory range
Ox100-Ox3ff is available for data placement.
See your processor manual for information on memory region allocations.