Research on the Key Techniques of Application-Specific Instruction-Set Processors

Author
ChenHu
Advisor
ChenShuMing
School
National University of Defense Science and Technology
Major
Electronic Science and Technology
Classification
TP332 Arithmetic unit and the controller (CPU)
Degree
Doctoral dissertation
Year
2011
Downloads
90
Citations
0

Request the full text

Abstract

The evolution of applications in fields like media processing and software definition radio (SDR) continuously brings more complex algorithms. The demand for high-quality services requires huge volumes of data processed under given time and resource constraints. Traditional VLIW and superscalar processors do not scale well because the area, delay, and power consumption of centralized register files increase proportionally to O(N2), O(N), and O(log4N) respectively as the number of access ports N increases. Meanwhile, the control paths of these processors, such as instruction issuing and commitment, are organized in a centralized manner, which results in high complexity and poor scalability.Multiprocessor System-on-Chips (MPSoCs) have emerged in the past decade as promising solutions to meet the computation requirement. However, integrating multiple cores on a single chip does not directly increase processors’performance or power efficiency for most sequentially written applications. The dilemma stemming from parallelizing sequential programs or writing parallel programs to take full advantage of available resources in MPSoCs drives us to rethink about the uni-core solutions from a hardware/software codesign perspective: What are the fundamental limitations of uni-core processors? How to eliminate these limitations and reduce hardware complexity? How to speedup applications with minimal modification to the architecture of state-of-the art processors? The main contributions of this paper are summarized as follows:1) We analyzed the inefficiency of a uni-core VLIW processor in processing two typical computation-intensive benchmarks from the area of media processing and software defined radio, and tried to find out fundamental limitations that hinder the scalability, performance and power efficiency of uni-core solutions. We drew the conclusion from the analysis that there are three aspects behind the inefficiency of uni-core processors, namely, the ultra-simplified instruction-set architecture (ISA) of RISC-like processors, the traditional plained binary instruction encoding scheme and centralized instruction execution control strategy. We proposed systmatical strategies to overcome the limitation of uni-core solutions based on the conclusion.2) We proposed an automatic method that can fast enumerate candidate extended instructions. This method first profiles source codes and recognizes the ALU operations that account for most of the execution time, then, generate candidate extended instructions around these typical operations using windowed and progressive search processes. The result pattern from each search step is locally optimal, which guarantees the efficiency of the ultimate pattern to some extend. This instruction enumeration method can not only effectively explore the design space but also have linear complexity. The algorithm complexity grows linearly with the number of typical operatons and average search steps around each typical operation.3) We proposed a novel resource compression method for extended instructions implemented on extended functional units. The method first finds out the critical path of an instruction and patitions the rest of the DFG (Date Flow Graph) of the instruction into multiple paths, then, finds out the MCES (Maximal Common Equivalent String) of all paths of all instructions and compresses these instructions contain the MCES. The method can guarantee resource be effectively shared among instructions. Meanwhile, the method allows modifying the DFG of an instruction through inserting simple operations into the paths of the instruction in order to reduce the number of inserted multiplexers and reduce the impact of multiplexers on area and delay.4) We proposed a hardware/software instruction encoding scheme to improve the scalability of uni-core architectures. By statically scheduling a sequence of dependent instructions into a pack, implementing common information in the pack in a dedicated instruction word, and converting instruction issuing to pack issuing, we could substantially reduce the number of bits required to encode instructions and the hardware complexity of instruction issuing, thus improving the scalability usually limited by fixed-length instruction formats and centralized instruction issuing.5) To improve the scalability and performance of uni-core processors, we proposed a novel distributed instruction execution control scheme and implement the pipeline using this scheme. The highly scalable pipeline that features in-order issuing, out-of-order execution and parallel but in-order commitment because the functional units partitioned among clusters are allowed to read operands, execute instructions, write back results and maintain data dependency themselves. The scalability is improved by the instruction execution control scheme, while the performance is enhanced by the increased hardware speed and the improved temporal data locality.6) We proposed a novel ASIP architecture based on the scalable pipeline using distributed instruction execution control. The ASIP could support complex instructions which could have a maximum of 6 input operands and 2 output operands, which substantially extend the design space of extended instructions and improve the potential speedup from instruction customization. The execution resources like functional units and register file are patitioned among clusters, inter-cluter communication is implemented through a scalable operand passing network. Thus change in the functionality of extended fuctional units will not affect the baseline architecture.

Table of contents

Abstract 10-12 Abstract 12-14 first chapter 14-36 1.1 Background 15-23 < br /> 1.1.1 application and standards continue to evolve 15-18 1.1.2 to ASIC solutions from GPP 18-21 1.1.3 ASIP principle and construction method 21-23 1.2 application for ASIP requirements 23 1.3 ASIP challenge 23-26 1.3.1 basic Structure aspects 24-25 1.3.2 extended instruction aspect 25-26 1.3.3 system implementation aspects 26 1.4 research 26-30 1.4.1 generated automatically extended instruction methods 26-27 1.4.2 extended instruction resource-sharing policies 27-28 1.4.3 available extended instruction encoding method 28-29 1.4.4 application-oriented processor architecture 29-30 1.5 research 30-33 1.6 article structural 33-36 Chapter uniprocessor handle complex application of the limitations 36-54 2.1 features two typical algorithms applied 36 -42 2.1.1 MPEG-2 encoder 36-38 2.1.2 W-CDMA physical layer 38-39 2.1.3 two applications characteristics 39-42 2.2 experimental setup 42-43 2.3 Two typical application execution results 43-48 2.3.1 function the impact on the number of units ILP 44-45 2.3.2 ILP impact on the general register 45-47 2.3.3 compiler optimizations for ILP impact 47-48 2.4 applications on a single processor requests 48 2.5 of existing single-processor system deficiencies 48-49 2.6 single-processor system improvement program 49-51 2.6.1 processor architecture aspects 50 2.6.2 instruction set and instruction coding 50-51 <br / > 2.6.3 compiler scheduling and optimization 51 2.7 Summary 51-54 Chapter instruction set for embedded systems automatically generate method 54 -70 3.1 problems arising from the extended instruction set defined 54-55 3.2 application-based feature recognition algorithm command 55-58 3.2.1 Directive recognition algorithm achieve 55-57 3.2.2 algorithm complexity analysis 57-58 3.3 based resource sharing instruction selection algorithm 58-62 3.3.1 The instruction selection pretreatment 58-59 3.3.2 instruction selection algorithm 59-62 3.3.3 algorithm complexity analysis 62 3.4 experimental setup 62-63 3.5 algorithm complexity and performance comparison instruction 63-68 3.5.1 development and design space 63-65 3.5.2 accelerate application execution 65-67 3.5.3 reduce the area overhead aspects 67-68 3.6 Summary 68-70 Chapter scalable hardware and software co instruction encoding method 70-88 4.1 HaSIE instruction encoding method principle 70-71 4.2 a simple cluster -based RISC processor 71-72 4.3 HaSIE method of instruction distribution engine 72-77 4.3.1 Directive distribution algorithm basic assumptions 73-74 4.3.2 Directive distribution process specific implementation 74-77 4.4 HaSIE method of instruction package engine 77-78 4.4.1 fixed-length instruction word encapsulation process 77-78 4.4.2 instruction encoding space to obtain a gain 78 4.5 experimental setup 78-79 4.6 HaSIE method of software and hardware overhead 79-85 4.6.1 compiler optimization overhead 79-80 4.6.2 code size overhead 80-82 <br / > 4.6.3 processor performance overhead 82-83 4.6.4 inter-cluster communication optimization 83-84 4.6.5 hardware resource overhead 84 - 85 4.7 Chapter Summary 85-88 Chapter hybrid instruction execution control scalable ASIP architecture 88-110 5.1 Introduction 88 -89 5.2 a scalable ASIP architecture 89-91 5.3 distributed instruction execution control is achieved 91-96 5.3.1 distributed instructions the principle of executive control 91-92 5.3.2 software and hardware support implementation of control mechanisms 92-93 5.3.3 hybrid execution flow control mechanism 93-96 5.4 application-oriented functional unit to achieve 96-99 5.4.1 instruction coding support 96-97 5.4.2 complex Instruction the application process 97-98 5.4.3 software and hardware complexity cost estimate 98-99 5.5 experimental setup 99-100 5.6 performance upgrading software and hardware complexity overhead 100-107 5.6.1 improve processor performance 101-103 5.6.2 reduces code size aspect 103 -105 5.6.3 reduce the hardware complexity aspects 105-107 5.7 Chapter Summary 107-110 Chapter VI Conclusion and Outlook 110-112 6.1 innovation 110-111 6.2 research Prospects 111-112 Thanks 112-114 References 114-124 author during term academic achievements 124-126 Appendix A JPEG encoder oriented instruction set extensions 126-128 Appendix B authors participated in the study during the research work 128

Related dissertations

  1. Hardware/Software Co-Design of Audio Codec Based on OpenRISC
    WangYan ·Zhejiang University ·2007 ·Master's thesis