196
Development Tools User’s Guide
Intel
®
IXP2400/IXP2800 Network Processors
Microengine C Compiler
-Qnctx=<1,2,3,4, 5, 6,7, 8>
Specifies the number of contexts compiled to run; defaults to 4, or 8 if -
Qnctx_mode=4.
-Qnctx_mode=<4, 8>
Specifies the context mode (either 4 context mode or 8 context mode).
Defaults to 4, or 8 if -Qnctx is set to larger than 4. If -Qnctx is set to 1,
defaults to 4.
-Qnn_mode=<0, 1>
Sets NN_MODE in CTX_ENABLE for setting up next neighbor access
mode. (See Next Neighbor Register section in Chapter 3). 0=neighbor
(default), 1 = self).
-Qnolur=<func_name>
Turns off loop unrolling on specified functions. You can supply one or
more function names to the option. For example:
-Qnolur="_main"; turn off loop unrolling for main().
-Qnolur="_main,_foo"; turn off loop unrolling for main() and foo().
The supplied function name must have the preceding underscore ('_').
-Qold_revision_scheme
Generates hardware revision numbers that are compatible with IXA
SDK 3.0 and below.
-Qperfinfo=n
Prints performance information.
n=0 - no information (similar to not specifying)
n=1 - register candidates spilled (not allocated to registers) and the
spill type
n=2 - instruction-level symbol liveness and register allocation
n=4 - function-level symbol liveness and register allocation
n=8 - function sizes
n=16 - local memory allocation
n=32 - live range conflicts causing SRAM spills
n=64 - instruction scheduling statistics
n=128 - Warn if the compiler cannot determine the size of a memory
I/O transfer
n=256 - Display information for "restrict" pointer violations
n=512 - Print offsets of potential jump[] targets
-Qrevision_min=n
-Qrevision_max=m
The version arguments allow the compiler to generate code that works
on a range of processor versions (steppings).
0x00=A0 (default for -Qrevision_min)
0x01=A1
0x10=B0
0x11=B1
The default revision range is 0x00 to 0xff (all possible processor
versions). The default for -Qrevision_max is 0xff. The compiler adds
-D__REVISION_MIN=n and -D__REVISION_MAX=m. Note: The IXP
program loader reports an error if a program compiled for a specific set
of processors is loaded onto the wrong processor.
Table 8. Supported uccl CLI Option Switches (Continued) (Sheet 3 of 4)
Switch
Definition