LÜ Peng-wei, LIU Cong-xin, ZHAO Yi-ming, SHEN Xu-bang. Auto-Vectorization Method Based on Dynamic ProgrammingJ. Transactions of Beijing institute of Technology, 2017, 37(5): 544-550. DOI: 10.15918/j.tbit1001-0645.2017.05.020
Citation: LÜ Peng-wei, LIU Cong-xin, ZHAO Yi-ming, SHEN Xu-bang. Auto-Vectorization Method Based on Dynamic ProgrammingJ. Transactions of Beijing institute of Technology, 2017, 37(5): 544-550. DOI: 10.15918/j.tbit1001-0645.2017.05.020

Auto-Vectorization Method Based on Dynamic Programming

  • As SLP (super-word level parallelism) auto-vectorization algorithm will lose some vectorization opportunities by using heuristic strategy, an auto-vectorization method named DPSLP that based on dynamic programming was proposed in this paper. In this method, the candidate statement groups were searched for SIMD (single instruction multiple data) instruction by using more aggressive strategy than SLP, and the optimal statement groups were selected to vectorize according to the cost of which calculated by dynamic programming formula. Experimental result show that DPSLP achieves on average a total decrease of 8% in execution time, 10% in static instruction cost and increase of 66.4% in vector width, compared with SLP.
  • loading

Catalog

    Turn off MathJax
    Article Contents

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return
    Baidu
    map