A Data Layout Transformation for Vectorizing Compilers
Modern processors are often equipped with vector instruction sets. Such instructions operate on multiple elements of data at once, and greatly improve performance for specific applications. A programmer has two options to take advantage of these instructions: writing manually vectorized code, or using an auto-vectorizing compiler. In the latter case, he only has to place annotations to instruct the auto-vectorizing compiler to vectorize a particular piece of code. Thanks to auto-vectorization, the source program remains portable, and the programmer can focus on the task at hand instead of the low-level details of intrinsics programming. However, the performance of the vectorized program strongly depends on the precision of the analyses performed by the vectorizing compiler. In this paper, we improve the precision of these analyses by selectively splitting stack-allocated variables of a structure or aggregate type. Without this optimization, automatic vectorization slows the execution down compared to the scalar, non-vectorized code. When this optimization is enabled, we show that the vectorized code can be as fast as hand-optimized, manually vectorized implementations.
Sat 24 FebDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
13:30 - 15:00 | |||
13:30 30mTalk | Ikra-Cpp: A C++/CUDA DSL for Object-Oriented Programming with Structure-of-Arrays Layout WPMVP | ||
14:00 30mTalk | Usuba, Optimizing & Trustworthy Bitslicing Compiler WPMVP Darius Mercadier Sorbonne Universités —UPMC Univ Paris 06, Lionel Lacassagne University Paris 6, Gilles Muller LIP6-INRIA/UPMC, Pierre-Evariste Dagand LIP6/CNRS | ||
14:30 30mTalk | A Data Layout Transformation for Vectorizing Compilers WPMVP Arsène Pérard-Gayot Saarland University, Germany, Richard Membarth DFKI, Germany, Philipp Slusallek DFKI, Germany, Simon Moll , Roland Leißa Saarland University, Germany, Sebastian Hack Saarland University, Germany |