Hardware 版 (精华区)
发信人: edmcgy (达达尼), 信区: Hardware
标 题: DSP(Data Signal Processor)的应用(3)
发信站: 紫 丁 香 (Thu Apr 23 15:22:44 1998), 转信
Specific TMS320C2x/C2xx/C5x Optimizations
Cost-based register allocation,
Autoincrement addressing,
Repeat blocks,
Delay branches, calls, and returns,
General Optimizations
Branch optimizations/control-flow simplification,
Algebraic reordering, symbolic simplification, constant folding,
Alias disambiguation,
Copy propagation,
Common subexpression elimination,
Redundant assignment elimination,
Loop induction variable optimizations/strength reduction,
Loop rotation,
Loop invariant code motion,
Inline expansion of function calls,
File level optimizations.
The C compiler package includes:
A shell program that calls the individual programs with the desired options. The shell
program can call the parser, the optimizer, the code generator, the interlist utility, the
assembler, and the linker.
The parser reads the C source code file, performs preprocessing functions, verifies the
syntax, and produces an intermediate file that is used as an input to the optimizer or code
generator.
The optimizer reads the intermediate file generated by the parser, and performs various
general and target specific optimizations to improve the execution speed of the program.
The code generator reads the intermediate file generated by the parser or the optimizer
and converts it to a C2x, C2xx, or C5x assembly source code file.
The interlist utility adds comments containing the C source code within the assembly
language source code file.
The assembler translates assembly language source code into machine language COFF
object files. It also supports a macro language that enables users to create their own
"instructions".
The archiver allows you to manage archive files (also called libraries) which consist of a
collection of source code files or COFF object files.
The run-time support archive is a collection of C, C header and assembly language
source files that implement ANSI standard runtime-support functions.
The library-build utility allows you to build a COFF object library from a source code
archive.
The linker allows you to combine COFF object files into a single executable COFF
output file. The linker allocates relocatable sections, symbols and resolves external
references between input files.
The hex conversion utility allows you to convert an executable COFF output file into
ASCII-Hex, Intel MSC-86, Extended Tektronix, Motorola-S, or TI-Tagged Object file
format that can be used as input to an EPROM programmer.
The cross-reference utility accepts linked object files and produces a listing of all
symbols, their definitions, including the names of linked source files where they are defined
and referenced.
The absolute lister accepts linked object files and produces an file that can be used with
the assembler to produce an abolute listing file that contains the absolute addresses of all
assembled instructions.
?Copyright 1998 Texas Instruments Incorporated. All rights reserved.
Trademarks, Important Notice!
--
※ 来源:.紫 丁 香 bbs.hit.edu.cn.[FROM: edmcgy.hit.edu.c]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
页面执行时间:2.753毫秒