Title :
Source code profiling for ASIP design: Strategy and implementation
Author :
Chen, Qian ; Jinguo, Quan ; Zhang, Yan ; Ju, Jinbin
Author_Institution :
Dept. of Electron. & Inf. Eng., Harbin Inst. of Technol., Shenzhen, China
Abstract :
Designing Instruction Set Architecture (ISA) of the Application Specific Instruction set Processor (ASIP) is the most important step in the ASIP design. It is based on deep understanding of the application algorithm, while understanding of the algorithm depends on analyzing of related source code. The traditional source code profilers couldn´t provide enough accuracy or machine independent property. Towards the ISA design requirements a fine grained profile strategy based on the Intermediate Representation of the C compiler will be presented in this paper. Beside the statics of the basic C operate and sub function, this strategy also give the basic block execute count and the variable count in sub functions. Case study will be explained to show how this profiling strategy is used for ISA design, and also to show how basic block execute information be used to complex instructions design and how variable count information be used to guide the heap and stack design.
Keywords :
C language; instruction sets; program compilers; software architecture; ASIP design; C compiler; ISA design requirements; application algorithm; application specific instruction set processor; basic block execute count; block execute information; complex instructions design; fine grained profile strategy; heap design; instruction set architecture design; intermediate representation; machine independent property; profiling strategy; source code profilers; source code profiling; stack design; Algorithm design and analysis; Assembly; Computer architecture; Libraries; Monitoring; Probes; Basic Block; Code Profiling; DFG; ISA; t ASIP;
Conference_Titel :
Electronics, Communications and Control (ICECC), 2011 International Conference on
Conference_Location :
Ningbo
Print_ISBN :
978-1-4577-0320-1
DOI :
10.1109/ICECC.2011.6066550