Font Size: a A A

An optimizing compiler for the TMS320C25 DSP processor

Posted on:1996-03-01Degree:M.A.ScType:Thesis
University:University of Toronto (Canada)Candidate:Lin, Wen-YenFull Text:PDF
GTID:2468390014987975Subject:Engineering
Abstract/Summary:
Programming DSP applications in a high-level language such as C is becoming more prevalent as applications become increasingly more complex. Current DSP compilers, however, are generally unable to exploit the DSP-specific features of a processor to produce good codes for most DSP applications. To explore the challenges and gain an understanding of generating code that is as good as handwritten assembly code, an optimizing C compiler for Texas Instruments' TMS320C25 DSP processor is developed.;A pseudo C25 instruction set and GCC configuration files are also created for the C25 in this study. A number of benchmark programs are collected and used to evaluate the quality of compiler-generated codes. Finally, this thesis shows that a modified GNU C compiler combined with a post-optimizer is able to utilize the special features of the TMS320C25 and to generate high-performance codes. The empirical results indicate that codes generated by the U of T C25 optimizing compiler execute, on average, 1.9 times faster than the TI compiler-generated codes. In addition, for most of the benchmark programs, the performance of codes generated by the U of T C25 optimizing compiler come, on average, within a factor of two of that of the hand-written assembly codes.
Keywords/Search Tags:DSP, C25, Optimizing compiler, Codes
Related items