Font Size: a A A

Performance Improvements For GCC Using Architecture Features On Godson Ⅱ

Posted on:2007-11-05Degree:MasterType:Thesis
Country:ChinaCandidate:J F DongFull Text:PDF
GTID:2178360185454123Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
A system consists of three closely connected components: hardware equipment,operating system and compiler. A compiler's performance influences the performanceof the whole system directly and deeply. The Godson series are the first self-designedhigh performance, general-purposed microprocessors in China. Godson-2 implementsMIPS III instruction set and several special instructions. It achieves high performanceeven under low frequency by using advanced architecture design, and has become oneof the advanced superscalar processors in the world.Presently, Godson-2 is using GCC(GNU Compiler Collection)which is a widelyused open source compiler on various platforms. GCC provides rich optimizationfunctions, some of which are architecture independent and others are architecturedependent. This thesis will focus on the latter and will describe our work of adjustingGCC optimizer on Godson-2 architecture to improve the performance.Though GCC can be executed on Godson-2, there is still room to improve itsperformance, since it has not fully utilized Godson-2's architecture features. We willreport how we achieved this by optimizing instruction scheduling, software pipelineand prefetch of loop arrays. The experiment results show that these techniques haveremarkably improved Goodson-2's performance. We get 3.1% improvement on SPEC2000INT and 5.4% on SPEC2000FP.
Keywords/Search Tags:Godson-2, GCC, instruction scheduling, prefetch, software pipeline optimization
PDF Full Text Request
Related items