SIMD compiler optimization method of

Author
ZhuJiaHua
Advisor
ZhuChuanZuo , ZuoBinYu
School
Fudan University
Major
Computer System Architecture
Classification
TP314 Compiler,interpreter
Degree
Doctoral dissertation
Year
2005
Downloads
238
Citations
4

Request the full text

Abstract

Since multimedia has become a dominating computing field, to meet such a trend, almost all general purposed processor venders have integrated multimedia extensions (MME) to their processors. Due to the potential parallelism and the low caculative precision requirement of multimedia applications most MME are implemented with Single Instruction Multi Data instruction sets.Currently, programmers are mainly restricted to using assember to utilize these MMEs with in-lining assembly codes or intrinsic functions. With these methods, the development become extremely inefficient and the code would be hard to be transplanted between different platforms. An alternative way is to make compiler automatically generate SIMD instructions from the code of standard high level programming languages.Although SIMD optimization is a part of vectorization, the traditional vectorization technique could not be simply transplanted to SIMD optimization due to the differences between vector processor and SIMD architecture. Currently, there is only few compilers could speedup some individual multimedia applications.Based on the deep study to the SIMD architecture and widely analysis to the multimedia workload. We carried on a series research to develop efficient SIMD optimization techniques, and to find out some useful techniques in this area. Meanwhile, we implemented these techniques with open source compiler Gcc3.5 and parallelization research platform Aggassiz as well. The work of this dissertation includes:1. This dissertation thoroughly investigates the present research on SIMD architecture, multimedia workload, and SIMD compilation techniques. One conclusion is that there are obvious gaps between SIMD compilation technique and traditional vectorization techniques2. To meet the requirement of SIMD compiler, we introduced "valid bits analysis", a dual direct data flow analysis, as the basic analysis for further optimizations, to control the band-width and enhance the parallelism.3. Since there are strong conflicts between the pack arithmetic of SIMD architecture and Integer Promotion rule of programming language standard, we introduced the overflow controlled SIMD arithmetic to optimize the related code.4. We successfully vectorize the linear recursive arithmetic in saturated mode to avoid exchanging the data between serial components and SIMD components. So that we can enhance the performance of related code. Meanwhile, we proposed the method how to discover Cyc-Constant, with this method more potential parallelism are developed.5. We also implemented two prototype system with open source compiler Gcc3.5 and parallelization research platform Aggassiz, and verified the correctness for the SIMD optimization techniques and measure the performance improvement as well.Conclusively, to enhance the capacity of SIMD optimization we discussed several critical techniques, such as how to performe highly accurately data bit width analysis and how to develop potential parallelism in saturation arithmetic mode. On the other hand, we verified the correctness and analyzed the performance improvement for the techniques.

Table of contents

Directory 2-5 illustrated catalog 5-6 table a summary of the directory 6-7 7-9 ABSTRACT 9-11 Chapter Introduction 11-20 § 1.1 multimedia applications 11-13 § 1.2 SIMD multimedia extensions - based on register to quantum chemical calculations 13-17 § 1.3 the practical application of the SIMD extension 17-18 § 1.4 in this article work 18-19 § 1.5 full text structure 19-20 Chapter II compiler optimization methods to quantify 20-35 § 2.1 data dependency analysis 20-28 § 2.1.1 loop data dependencies 23-26 § 2.1.2 dependencies GCD analysis methods 26-28 § 2.2 vectorization code generation 28-30 § 2.3 Anti-related and output related to the elimination of 30-32 § 2.4 scalar expansion 32-33 § 2.5 cycle compartmentalization 33-35 the third chapter of the obstacles to quantitative methods in the SIMD optimization 35-45 § 3.1 BERKELEY MULTIMEDIA WORKLOAD 35-36 § 3.2 array pointers applications of 36-38 § 3.3 cycle manual Expand 38-39 § 3.4 language standard SIMD Extensions conflict 39-42 § 3.4.1 integer expansion rules 39-40 § 3.4.2 saturation computing model 40-42 § 3.5 The mapping table 42-43 § 3.6 SIMD Extensions defects 43 § 3.7 Summary 43-45 Chapter IV SIMD compiler optimization The basic function 45-53 § 4.1 recognition complex computing 46-49 § 4.2 to eliminate the condition jump 49-50 § 4.3 data reference way to transform 50-53 Chapter effective analysis 53-59 § 5.1 the SIMD instruction parallelism and related optimization studies 53 § 5.2 in-depth optimization of the degree of parallelism for SIMD code 53-54 § 5.3 in-depth optimization analysis and effective range 54-55 § 5.4 effective bits of analysis methods 55-58 § 5.5 effective bit wide analysis 58-59 Chapter VI overflow control 59-67 § 6.1 the SIMD architecture and INTEGER overhead caused by the PROMOTION 59-60 § 6.2 closed mode overflow control method 60-63 § 6.2.1 Basic expressions transform 60 - 62 § 6.2.2 expression simplification.; 62-63 § 6.3 saturated mode, the overflow control method 63-67 § 6.3.1 conditions combined with law 63-64 § 6.3.2 of the binding rate is based on conditional expressions deformation 64-65 § 6.3.3 overflow control 65-66 § 6.3.4 Range check 66-67 Chapter VII of the other optimization methods 67-84 § 7.1 cycle of constant expansion 67-73 < br /> § 7.1.1 cycle constant recognition of the differential equation approach 68-71 § 7.1.2 difference equations with periodic solution sufficient condition 71-72 § 7.1 .3 cycle constant identification and optimization 72-73 § 7.2 the SIMD compiler optimization of first order linear recursive 73-81 § 7.2.1 first-order linear recursion calculation 73-75 § 7.2.2 Based on the commutative and associative law of first order linear recursive calculation to quantify 75-77 § 7.2.3 saturation computing model 77-78 § 7.2.4 first-order linear recursive saturation calculated to quantify 78-81 § 7.3 functions embedded 81-83 § 7.4 serial optimization method 83-84 Chapter VIII of the system 84-89 § 8.1 the SIMD compiler optimized 85-87 <br / > § 8.2 source to source compiler AGASSIZ 87-89 experimental data Chapter 89-98 § 9.1 Experimental platform 89 - 90 § 9.2 GCC3.5-V of the SIMD optimization results 90-91 § 9.3 AGASSIZ SIMD optimization results 91-94 § 9.4 single SIMD optimization effect 94-97 § 9.4.1 Adpcm in SIMD compiler optimization 94-96 § 9.4.2 G721/723 in the SIMD compiler optimization 96 -97 § 9.5 Summary 97-98 Chapter Summary and Prospects: 98-102 § 10.1 of innovation and contribution 99-100 § 10.2 future research directions 100-102 References 102-111 article directory 111-112 speech of thanks 112-113

Related dissertations

  1. Study on the use of multimedia teaching means and political class in high school
    LuJieZhou ·Shanghai Normal University ·2012 ·Master's thesis
  2. Research on the Current Situation of Multimedia Application in Primary School English Teaching
    ChenYuZuo ·Yangzhou University ·2012 ·Master's thesis
  3. Design and Implementation of SIP Multimedia Applications Oriented NGN
  4. Research on Optimized Implementation of Volume Rendering Based 3D Visualization
    FanXiang ·Zhejiang University ·2008 ·Master's thesis
  5. Research of Smartphone Development Platform Based on ARM9 and Embedded Linux
    DuanTao ·Wuhan University of Technology ·2007 ·Master's thesis
  6. Research on Fast Algorithms in H.264 Video Coding and Error Detection of Arithmetic Codes
    YangMing ·Tsinghua University ·2004 ·Master's thesis
  7. Application of A New DSP in High-Speed Real-Time Parallel Signal Processing
  8. A Study of Multimedia Application-based Vocabulary Acquisition
    ShaoJing ·Chongqing Normal University ·2010 ·Master's thesis
  9. The Design of an Intelligent Guide System Based on Android Platform
    JiaWenJie ·Zhejiang University ·2012 ·Master's thesis