Improving Program Performance via Auto-Vectorization of Loops with Conditional Statements with GCC Compiler Setting

Autor: Qi Shen Zhu
Rok vydání: 2013
Předmět:
Zdroj: Applied Mechanics and Materials. :1410-1414
ISSN: 1662-7482
DOI: 10.4028/www.scientific.net/amm.433-435.1410
Popis: The GCC is an auto-vectorization compiler across iterations of loops to parallelism data. Turning GCC compiler optimizations flags for auto-vectorization is a way to improve the performance ability, which is a popular approach to speed up program performance. However, there are many options in GCC compiler and selecting the best combination of these options to improve program performance through vectorization is non-trivial ( as the search space is very large ).In this work we focus on the selection of compiler transformations to auto-vectorize loops with conditional statements. The selection of compiler transformations is based on the correlation between program features, speed-up, and the analysis of the code generated and a small number of passes of iterative compilation. Our preliminary experimental results show that proposed technique attains performance improvements the best ~ 6x using loops in the TSVC benchmark suite on the state-of-the-art Intel Core i3 processor.
Databáze: OpenAIRE