Paper
20 December 2001 Efficient RTL-based code generation for specified DSP C-compiler
Qiaohai Pan, Peng Liu, Ce Shi, Qingdong Yao, Shaobo Zhu, Li Yan, Ying Zhou, Weibing Huang
Author Affiliations +
Proceedings Volume 4674, Media Processors 2002; (2001) https://doi.org/10.1117/12.451069
Event: Electronic Imaging, 2002, San Jose, California, United States
Abstract
A C-compiler is a basic tool for most embedded systems programmers. It is the tool by which the ideas and algorithms in your application (expressed as C source code) are transformed into machine code executable by the target processor. Our research was to develop an optimizing C-compiler for a specified 16-bit DSP. As one of the most important part in the C-compiler, Code Generation's efficiency and performance directly affect to the resultant target assembly code. Thus, in order to improve the performance of the C-compiler, we constructed an efficient code generation based on RTL, an intermediate language used in GNU CC. The code generation accepts RTL as main input, takes good advantage of features specific to RTL and specified DSP's architecture, and generates compact assembly code of the specified DSP. In this paper, firstly, the features of RTL will be briefly introduced. Then, the basic principle of constructing the code generation will be presented in detail. According to the basic principle, this paper will discuss the architecture of the code generation, including: syntax tree construction / reconstruction, basic RTL instruction extraction, behavior description at RTL level, and instruction description at assembly level. The optimization strategies used in the code generation for generating compact assembly code will also be given in this paper. Finally, we will achieve the conclusion that the C-compiler using this special code generation achieved high efficiency we expected.
© (2001) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Qiaohai Pan, Peng Liu, Ce Shi, Qingdong Yao, Shaobo Zhu, Li Yan, Ying Zhou, and Weibing Huang "Efficient RTL-based code generation for specified DSP C-compiler", Proc. SPIE 4674, Media Processors 2002, (20 December 2001); https://doi.org/10.1117/12.451069
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Digital signal processing

Detection and tracking algorithms

Embedded systems

Nanoimprint lithography

Algorithm development

Electronics engineering

Information science

Back to Top