Font Size: a A A

The Primary Assembler Optimizing Of DSP C Compiler Based On GCC

Posted on:2006-09-01Degree:MasterType:Thesis
Country:ChinaCandidate:F QuFull Text:PDF
GTID:2178360185977923Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
GNU GCC compiler had been widely applied to all kinds platform, including CISC and RICS machine etc. It's one easily transplanted compiler system and supports multi-language and multi-platform. Along with DSP technology high-speed developing, especially, the new generation DSP comes forth, the assembly language program couldn't meet the requirement of DSP developing more and more. So it needs develop high-level language compiler for DSP program. By research the GNU GCC compiler, this paper provides some program optimizing solution for one developing DSP C compiler.First, this paper simply introduces DSP developing instance, and some characters of target DSP. It does some description for developing DSP C compiler. Then, this paper analyses GCC common basic principle and program-optimizing techniques. After it, this paper does some simply introduction for back-end developing methods of target DSP C compiler. Based on these introductions, according the actually developed procedure, and the character of GCC, this paper mainly introduces program-optimizing methods of DSP C compiler last. This paper analyses and brings forward some program-optimizing solutions based-on DSP characters and GCC. It's main keystone research in this paper. There are mainly optimizing fields, including single circle MAC, loop supported by hardware, auxiliary register assigned, block and whole algorithm optimizing etc. By testing and comparing the optimizing code and non-optimizing code, the compiler gets one very good optimizing effect and higher efficiency code.Now, This DSP C compiler could stably does some basic optimization of GCC and some special based on DSP character optimization, including DSP block optimization, AR substituting optimization, global instruction reducing optimization, etc. optimizing methods. That's all work well. This paper's research could bring some reference for similar DSP compiler developing and optimizing.
Keywords/Search Tags:GCC, Compiler, DSP, Assembler, Optimization
PDF Full Text Request
Related items