Automatic SIMD vectorization for Haskell
Leaf Petersen, Dominic A. Orchard, Neal Glew · ACM SIGPLAN International Conference on Functional Programming (ICFP) · 2013
Expressing algorithms using immutable arrays greatly simplifies the challenges of automatic SIMD vectorization, since several important classes of dependency violations cannot occur. The Haskell programming language provides libraries for programming with immutable arrays, and compiler support for optimizing them to eliminate the overhead of intermediate temporary arrays. We describe an implementation of automatic SIMD vectorization in a Haskell compiler which gives substantial vector speedups for a range of programs written in a natural programming style. We compare performance with that of programs compiled by the Glasgow Haskell Compiler.
Cited by 12 works. doi:10.1145/2500365.2500605
Authors
References
- Programming parallel algorithms
- A practical algorithm for exact array dependence analysis
- Regular, shape-polymorphic, parallel arrays in Haskell
- Software Vectorization Handbook, The: Applying Intel Multimedia Extensions for Maximum Performance
- The rise and fall of High Performance Fortran
- The software vectorization handbook
- Shrinking lambda expressions in linear time
- Whole-program compilation in MLton
- Harnessing the Multicores: Nested Data Parallelism in Haskell
- Violated dependence analysis