Font Size: a A A

Porting GCC Compiler For YHFT-DSP

Posted on:2011-09-13Degree:MasterType:Thesis
Country:ChinaCandidate:F LiuFull Text:PDF
GTID:2178360308985717Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the development of Digital Signal Processing, the Digital Signal Processor (DSP) has been widely used in radar, audio and video processing, biomedical instruments etc.YHFT-DSP is a new generation of 32-bit fixed point high performance Digital Signal Processor of our country, which is independently designed by the Computer College of National University of Defense Technology. It uses a clustered of Very Long Instruction Word (VLIW) architecture, and the main feature of this chip is the use of static instruction scheduling techniques. It determines if the instructions can be parallel executed and be executed with which order, by statically analyses the dependencies between instructions, which is completely handled by compiler. This shows that the efficiency of the compiler mostly determines the performance of YHFT-DSP. Currently, there is no absolutely suited open source compiler being available and therefore it has very real theoretical and practical significance to make an effort in studying the compiler porting technology for YHFT-DSP.Based on retargetable compiler infrastructure GCC, we study the backend porting technology of GCC, design and implement the YHFT-GCC compiler for YHFT-DSP.The main works and contributions of this thesis are as follows:Based on the comprehensive study on the instruction system of the YHFT-DSP and the architecture of the GCC compiler, we deeply analyze the backend of the GCC compiler, and then propose the scheme of porting backend of GCC for the chip of YHFT-DSP. And the machine description to YHFT-DSP is also accomplished.We Design and implement the key modules of YHFT-GCC, such as: function call, instruction jump, condition execution, instruction scheduling and so on. These are the most important part of the porting work.Based on the compiler technology we deeply investigate in the thesis, we accomplish the porting of GCC compilers for YHFT-DSP. The results of the benchmark testing and performance analysis on the achieved YHFT-GCC compiler show that it can be suitable for YHFT-DSP.Whereas the GCC is an Open Source Compiler, it will be more efficiency by following research work on further optimization. Finally, the direction of future work is given at the end of the thesis.
Keywords/Search Tags:YHFT-GCC, VLIW, Compiler, Porting Technology, Machine Description(MD)
PDF Full Text Request
Related items