chrke
@ida.liu.se
).$OPTROOT
.
For instance, if that directory is /home/agina/src/optimist
,
make the variable $OPTROOT
point to that directory:/home/agina/build/opt
(make sure that this directory exists), issue the following make
command:m56x_v0.1a.xml
):
c62x.xml
)
See especially Chapter 8 for a comprehensive description of xADML,
and Chapter 7 for a description of the ILP model.
INSTRUCTIONS FOR RUNNING OPTIMIST
The OPTIMIST framework generates time-optimal code at the basic block level.
To see the command-line options that you can pass to OPTIMIST,
issue the following command
(in your /home/agina/build/opt
directory):
./rcc -target=opt -?
<file.c>
where <file.c> is the source C file.
-archi=<XML file> | Specify target architecture file. | |
-vcg | Generate DAGs in VCG format. | |
-dot | Generate DAGs in dot format. | |
-bb=<n> | Generate code for BB number n. | |
-hs=<n> | Heuristic: at each z generate at most n variants. | |
-ts=<n> | Heuristic: at each stage generates at most n transfers. | |
-verb=[1,2,3,4] | Verbosity level. | |
-? | Show this help. | |
-emitter:mnemonic | Prints the mnemonics instead of FORMAT assembler | |
-emitter:debug | Prints mnemonics next to the assembler | |
-opt_c_debug | Shows calls to back-end events | |
-arm_asm | Assembler directives and declarations for ARM | |
-ilp |
Generates ILP data |
|
-ddep |
Remove DDEP and LINK edges (resulting code might be erronous) |
arm9e
architecture, issue the following command:
Please send bug reports to
Mattias Eriksson (mater
@ ida.liu.se
).