Shared memory multiple SIMD architecture compiler optimization and structure of

Author
ZhangWeiHua
Advisor
ZhuChuanZuo
School
Fudan University
Major
Computer Architecture
Classification
TP314 Compiler,interpreter
Degree
Doctoral dissertation
Year
2006
Downloads
187
Citations
0

Request the full text

Abstract

Multimedia has becoming a dominating computing field. To meet such a trend, shared memory multiple-SIMD architecture is widely used in mobile multimedia processing field as a multimedia accelerator. With the consideration of power consumption and die size, most of them have the constraints of shared data bus and limited register number. Although these constraints simplify the chip design, they are the major obstacles to map the real multimedia applications to these architectures. Traditional optimization techniques can not solve such problems for shared memory multiple-SIMD architecture. Until now, to our best knowledge, there is very little research on the optimizing techniques for shared memory multiple-SIMD architecture. As a result, those architectures mainly are hand-programmed using their assembly codes. Moreover, although shared memory multiple-SIMD architecture is widely used as a multimedia accelerator, there is very little systematic research on how do the properties of shared memory multiple-SIMD architecture, such as array size, executing mode etc, have the influence on the processing ability of their host SOCs.Although shared memory multiple-SIMD architecture has been widely employed, the research on the compiling techniques for shared memory multiple-SIMD architecture are far behind the development of hardware. As a result, shared memory multiple-SIMD architectures can only be hand-programmed using their assembly codes. Programmers not only need to write assembly codes for new multimedia applications but also have to port the existing C implementation codes to shared memory multiple-SIMD architecture. These are extremely tedious tasks that inhibit the wider acceptance of the shared memory multiple-SIMD architecture. On the other hand, lacking the supporting of the compiler also impedes the further research on shared memory multiple-SIMD architecture. To our best knowledge, there is no systematic research on how do the properties of shared memory multiple-SIMD architecture, such as array size, executing mode etc, have the influence on the processing ability on their host SOCs. Therefore it is really urgent to provide some effective optimizing technique to improve the appliance area and further architecture research on shared memory multiple-SIMD architecture for real multimedia applications.Although there are multiple SIMD units in shared memory multiple-SIMDarchitecture, those SIMD units can not execute in parallelism because of the constraint of shared data bus. As a result, it is important to exploit the parallelism of shared memory multiple-SIMD architecture that how to reduce the competition of shared data bus and how to improve the utilization of shared data bus. Although traditional locality algorithms can reduce the competition of data bus to some content, they can not be applied to the optimization of shared memory multiple-SIMD architecture. The reasons are that:1. The operands of traditional locality algorithms are scalars, the operands of shared memory multiple-SIMD architecture are data vector.2. Traditional locality algorithms can only reduce the competition of data bus, the problem that how to improve the utilization of shared data bus is not considered in these algorithms.3. Traditional locality algorithms mainly focus on cache. However, there is only limited registers in each SIMD unit of shared memory multiple-SIMD architecture. How to reduce the spilled data is also very important to reduce the conflicts of shared data bus.This dissertation starts by analyzing of both opportunities and obstacles of SIMD optimization. Then, we present a compiler framework that is successful in optimizing real multimedia applications for shared memory multiple-SIMD architecture. Our all objective is to find as much parallelism as is necessary to saturate the available hardware in shared memory multiple-SIMD architecture. We reduce the competition of data bus through increasing the register locality, improve the utilization of data bus by exploiting the broadcasting property of shared data bus and solve the problem of limited register number through a resource allocation algorithm. Besides these optimizations. The framework has been implemented in Agassiz, a source to source compiler tool for C programs developed by Parallel Processing Institute, Fudan University and Department of Computer Science and Engineering, University of Minnesota at Twin-Cities. It is successful in optimizing code of real multimedia applications for shared memory multiple-SIMD architecture. As the experimental results shown, the framework lead to an average speedup by a factor of 3.62 and an average utilization of shared memory multiple-SIMD architecturee with 8 SIMD units by a factor of 56% for real applications. With the help of the compiler framework, we also do the further research on shared memory multiple-SIMD architecture. We test and analyze the influence of shared memory multiple-SIMD architecture’s properties on the performance, including array size, executing mode, register number, shared data bus,topology and the instruction buffer size. Based on the experimental results, we give out some proposals to the chip design. This paper makes the following contributions:1. This paper presents a compiler framework, which is effective for mapping the real multimedia application to shared memory multiple-SIMD architecture.2. This paper gives out the systematic algorithms to solve the constraints of shared data bus and limited register number. Through these algorithms, not only the competition of shared data bus is reduced, but also the utilization of shared data bus is improved.3. This compiler framework not only automatically maps the multimedia applications to shared memory multiple-SIMD architecture, but also accelerates the research on shared memory multiple-SIMD architecture. With the help of this compiler, we do some research on shared memory multiple-SIMD architecture. According to the experimental results, we give out some proposals for the design of shared memory multiple-SIMD architecture SOCs.

Table of contents

Directory 2-11 Abstract 11-14 Abstract 14-17 Chapter Introduction 17-33 <br / > 1.1 multimedia applications 17-19 1.2 shared memory multi-SIMD architecture 19-22 1.2.1 Multi-SIMD architecture 19-21 1.2.2 The shared main memory multiple SIMD architecture 21-22 1.3 shared main memory multiple SIMD architecture compiler optimization significance 22-25 1.4 shared memory multiple SIMD architecture faces The main problem 25-29 1.4.1 shared memory multiple SIMD architecture compiler development lag 25-28 1.4.2 shared memory SIMD architecture compiler needs the major problems 28-29 1.5 Studies have 29-31 1.6 of this article, contribution and structural arrangements 31-33 Chapter underlying structure 33-43 2.1 Morphosys overview and features 33-35 2.1.1 Morphosys Overview 2.1.2 Basic 33-34 characteristics 34-35 the 2.2 Morphosys component is the design and achieve 35-41 2.2.1 TinyRisc 35-36 2.2.2 SIMD functional unit 36-39 2.2.3 instruction buffer 39-40 2.2.4 shared memory 40-41 2.2. DMA controller 41 2.3 Morphosys physical design 41-43 Chapter III multimedia program features analysis 43-53 3.1 program package About 43-45 3.2 multimedia program running characteristics 45-47 3.3 code form features 47-53 3.3.1 extensive use of pointers computing 47 3.3.2 loop unrolling 47-48 3.3.3 Multimedia typical operating variant 48-50 3.3.4 use the mapping array instead of complex calculations 50-51 3.3.5 widespread use of wide data types 51-53 Chapter IV Analysis 53 - 61 4.1 parallel analysis 53-57 4.1.1 shared data bus restrictions on parallel 53-54 4.1.2 broadcast-based parallel 54-55 4.1.3 based on data multiplexed parallel 55-56 4.1.4 data pipeline parallel 56-57 4.2 limited register on limit parallel 57-59 4.3 structure 59-61 Chapter optimization algorithm 61-89 5.1 prepared to optimize 61-66 5.1.1 SIMD optimization 61-62 5.1.2 code division 62-64 5.1.3 vector data reuse information calculation 64-66 5.2 Affine divided 66-71 5.2.1 affine is divided into the basic concept 67-69 5.2.2 affine is partitioning algorithm 69-70 5.2.3 read-only array to copy the calculation 70-71 5.3 data pipeline information to identify 71-74 5.3 .1 real-time data analysis 71-72 5.3.2 data flowing direction to determine 72-73 5.3.3 redundant communication elimination 73-74 5.4 division cycle selection 74-77 5.4.1 division cycle select 74-75 5.4.2 Calculation - communication conversion 75 - 77 5.4.3 data reuse space constructed 77 5.5 resource allocation 77-81 5.5.1 register allocation 77-79 5.5.2 average instruction-level parallelism in computing 79-81 5.5.3 allocation of resources 81 5.6 scheduling algorithm 81-84 5.6.1 instruction scheduling 81-83 5.6.2 scheduling algorithm for shared memory multiple SIMD architecture 83-84 5.7 scheduler instance 84-86 5.8 summarize 86-89 other optimization algorithms in Chapter VI 89-95 6.1 Statute of operation 89-91 6.1. an additional treatment of the SIMD optimization of the Statute of the variable 89-90 6.1.2 Statute of the variables of the additional treatment of scheduling optimization 90-91 6.2 The data pre-take 91-95 6.2.1 Data Prefetching Overview 91-92 6.2.2 software pipelining-based data prefetching 92-95 Chapter VII of the experimental results 95-103 7.1 of the SimpleScalar simulator 95-97 7.1.1 SimpleScalar simulator Introduction 95 7.1.2 the SimpleScalar simulator tool set to Overview 95-96 7.1.3 the SimpleScalar simulator tool set to Overview 96-97 7.2 shared memory SIMD architecture simulator to achieve 97 - 99 7.2.1 simulator implementation 97-98 7.2.2 simulator GCC toolchain adjustment 98-99 7.3 test program nbsp experimental results; 99-100 7.4 100-103 Chapter VIII of the performance analysis 103-115 8.1 array size 104-105 8.2 GPPC execution mode 105-107 8.3 register number 107-109 8.4 Internet 109-110 8.5 shared data bus 110-112 8.6 of VLIW instruction buffer 112-114 8.7 summarize 114-115 Chapter summary 115-119 9.1 Conclusion 115-117 9.2 future work 117-119 References 119-127 article directory 127-129 thank 129-131

Related dissertations

  1. Research on the Optimization of the System of Urban-rural Integrated Residents Social Pension Insurance of Laiwu City
    HaoXiaoJuan ·Shandong Agricultural University ·2013 ·Master's thesis
  2. Optimization Study of a Insurance Company Ningxia Branch’s Business Structure
    SunZuo ·Ningxia University ·2014 ·Master's thesis
  3. The Optimization of Fund Contract in the Perspective of Governance Structure
    YaoZhuangLong ·Central South University ·2013 ·Master's thesis
  4. The Personal Loans Centre Process Optimization Study of Ccb Shaanxi Branch
    LiuMing ·Northwestern University ·2012 ·Master's thesis
  5. Research on Optimization of commercial bank loans business processes Chinese micro enterprise
    ZhouXiaoDan ·Inner Mongolia University ·2013 ·Master's thesis
  6. Optimization of Commercial Bank Credit Rating Index System for SMEs
  7. An Optimization Study on Proscenium Support Facilities of Commercial Banks on Queuing Theory
    ChenMei ·Harbin Institute of Technology ·2012 ·Master's thesis
  8. The Credit Process Optimization of A Bank
    WangHe ·Liaoning University ·2012 ·Master's thesis
  9. The branches of commercial banks, credit risk management process - a case study of A bank D branch cases
    JinYanXin ·Yunnan University of Finance ·2013 ·Master's thesis
  10. The Research of Mode of Corporate Governance of China’s Trust Industry Defect and Optimization
    HuZuo ·East China Normal University ·2013 ·Master's thesis
  11. Under the New Situation of the International Monetary System Unbalance Influence on China’s Foreign Exchange Reserves and Its Optimization
    LinLeTing ·Dongbei University of Finance ·2013 ·Master's thesis
  12. The Study on Constructing Harmony in Urban Communities
    ZhaoZuoZuo ·Yanshan University ·2012 ·Master's thesis
  13. An Investigation of the Management System of Yancheng Local Tax Inspection
    YanXueJun ·Suzhou University ·2012 ·Master's thesis
  14. Based on the Subjective Well-being to Optimize the China’s Rural Public Expenditure
  15. Research on China’s Tax Cost and Optimization
  16. Analysis on Tax Scale Optimization of Liaoning Province
    LuZuoZuo ·Shenyang University ·2013 ·Master's thesis
  17. Study on the optimization of tax system of China's current stock market
    WangBing ·Capital University of Economics ·2014 ·Master's thesis
  18. The Optimal Decision of Slotting Fee and Percentage of Revenue under the Consignment Model
  19. Developing Strategy for Service Industry of the Nankai District Tianjin
    MaoZuoJin ·Tianjin University ·2012 ·Master's thesis
  20. Fuzhou Mail Processing Center Optimization Research
    ZhuangYouLin ·Xiamen University ·2013 ·Master's thesis