inria-00525139, version 1
Speculatively Vectorized Bytecode
Erven Rohou a, 1Sergei Dyshel 2Dorit Nuzman 2Ira Rosen 2Kevin Williams
a, 1Albert Cohen
3Ayal Zaks 2
International Conference on High-Performance and Embedded Architectures and Compilers (2011)
Résumé : Diversity is a confirmed trend of computing systems, which present a complex and moving target to software developers. Virtual machines and just-in-time compilers have been proposed to mitigate the complexity of these systems. They do so by offering a single and stable abstract machine model thereby hiding architectural details from programmers. SIMD capabilities are common among current and expected computing systems. Efficient exploitation of SIMD instructions has become crucial for the performance of many applications. Existing auto-vectorizers operate within traditional static optimizing compilers, and use details about the target architecture when generating SIMD instructions. Unfortunately, auto-vectorizers are currently too complex to be included in a constrained Just-In-Time (JIT) environment. In this paper we propose Vapor SIMD: a speculative approach for effective just-in-time vectorization. Vapor SIMD first applies complex ahead-of-time techniques to vectorize source code and produce bytecode of a standard portable format. Advanced JIT compilers can then quickly tailor this bytecode to exploit SIMD capabilities of appropriate platforms, yielding up to 14.7x and 11.8x speedups on x86 and PowerPC platforms (including JIT-compilation time). JIT compilers can also seamlessly revert to non-vector code, in the absence of SIMD capabilities or in the case of a third-party non-vectorizing JIT compiler, yielding 93% or more of the original performance.
- a – INRIA
- 1 : ALF (INRIA - IRISA)
- INRIA – Université de Rennes 1
- 2 : IBM Research [HAIFA]
- IBM R&D; Labs in Israel
- 3 : ALCHEMY (INRIA Saclay - Ile de France)
- INRIA – CNRS : UMR8623 – Université Paris XI - Paris Sud
- Domaine : Informatique/Autre
- inria-00525139, version 1
- http://hal.inria.fr/inria-00525139
- oai:hal.inria.fr:inria-00525139
- Contributeur : Erven Rohou
- Soumis le : Lundi 11 Octobre 2010, 11:53:44
- Dernière modification le : Jeudi 14 Octobre 2010, 13:18:34