
Invoking the Tools Individually
2-45
C Compiler Description
tempfile
names a temporary file that the code generator creates and
uses. If you do not supply a filename for the temporary file, the
code generator uses the input filename with the extension
.tmp
. The code generator deletes this file after using it.
options
affect the way the code generator processes the input file.
Each option available for the stand-alone code generator
mode has a corresponding dspcl shell option that performs the
same function.
7 shows the code generator options, the dspcl shell options, and their
corresponding functions.
Table 2
−
7. Code Generator Options and dspcl Options
dspcg Options dspcl Options
Function
−
a
−
ma
Assume variables are aliased
−
b
−
mb
Disable the noninterruptible RPTK instruction
for moving structures
−
g
register
−
r
register
Reserve global register
†
−
l
−
ml
Disable optimization for reducing LDPK
instructions
−
n
−
mn
Reenable optimizations disabled by symbolic
debugging
−
o
−
g
Enable C source level debugging
−
q
−
q
Suppress progress messages (quiet)
−
r
−
mr
List register use information
−
s
−
ms
Optimize for space instead of for speed
−
v25
−
v25
Enable use of TMS320C2x instructions
−
v2xx
−
v2xx
Enable use of TMS320C2xx instructions
−
v50
−
v50
Enable use of TMS320C5x instructions
−
x
−
mx
Avoid ’C5x silicon bugs
−
z
Retain the input file
‡
†
The
−
g
option tells the code generator that the register named is reserved for global use. See sec-
tion 5.6,
Creating Global Register Variables
, on page 5-10, for more information.
‡
The
−
z
option tells the code generator to retain the input file (the intermediate file created by the
parser). If you do not specify the
−
z option, the intermediate file is deleted.
Содержание TMS320C2x
Страница 8: ...viii...
Страница 69: ...2 47 C Compiler Description...
Страница 159: ...6 36...
Страница 226: ...8 6...
Страница 250: ...Index Index 14 Z z shell option 2 2 2 4 2 14 overriding with c option 4 5 overriding with n option 2 13...