Hybrid type legalization for a sparse SIMD instruction set
Authors:
Open Access
- 16 September 2013
- journal article
- research article
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Architecture and Code Optimization
- Vol. 10 (3) , 1-14
Abstract
SIMD vector units implement only a subset of the operations used by vectorizing compilers, and there are multiple conflicting techniques to legalize arbitrary vector types into register-sized data types. Traditionally, type legalization is performed using a set of predefined rules, regardless of the operations used in the program. This method is not suitable to sparse SIMD instruction sets and often prevents the vectorization of programs. In this work we introduce a new technique for type legalization, namely vector element promotion, as well as a hybrid method for combining multiple techniques of type legalization. Our hybrid type legalization method makes decisions based on the knowledge of the available instruction set as well as the operations used in the program. Our experimental results demonstrate that program-dependent hybrid type legalization improves the execution time of vector programs, outperforms the existing legalization method, and allows the vectorization of workloads which were not vectorized before.Keywords
This publication has 16 references indexed in Scilit:
- Efficient Selection of Vector Instructions Using Dynamic Programming2010
- Polyhedral-Model Guided Loop-Nest Auto-Vectorization2009
- Outer-loop vectorization2008
- Inside the Intel 10.1 Compilers New Threadizer and New Vectorizer for Intel Core 2 ProcessorsIntel Technology Journal, 2007
- Vector LLVA2006
- Hybrid Optimizations: Which Optimization Algorithm to Use?Lecture Notes in Computer Science, 2006
- Improving superword level parallelism support in modern compilers2005
- Effective sign extension eliminationACM SIGPLAN Notices, 2002
- Exploiting superword level parallelism with multimedia instruction sets2000
- The CRAY-1 computer systemCommunications of the ACM, 1978