2011 · 211 citations · 15 references
ComputingComputer EngineeringComputer ScienceCompilersComputer ArchitectureProgramming LanguagesCompiler ConstructionControl-flow AnalysisData-flow AnalysisAssembly Language ProgrammingBenchmark AnalysisVector InstructionsVector ProcessingVector Processing UnitsVector ProcessorsVector Unit DesignVectorization
Most of today's processors include vector units that have been designed to speedup single threaded programs. Although vector instructions can deliver high performance, writing vector code in assembly language or using intrinsics in high level languages is a time consuming and error-prone task. The alternative is to automate the process of vectorization by using vectorizing compilers. This paper evaluates how well compilers vectorize a synthetic benchmark consisting of 151 loops, two application from Petascale Application Collaboration Teams (PACT), and eight applications from Media Bench II. We evaluated three compilers: GCC (version 4.7.0), ICC (version 12.0) and XLC (version 11.01). Our results show that despite all the work done in vectorization in the last 40 years 45-71% of the loops in the synthetic benchmark and only a few loops from the real applications are vectorized by the compilers we evaluated.
15
Susan L. Graham, Peter B. Kessler, Marshall Kirk McKusick · 1982 · 978 citations
W. Daniel Hillis, Guy L. Steele · Communications of the ACM · 1986 · 891 citations · Full text
An empirical study of FORTRAN programs
Donald E. Knuth · Software Practice and Experience · 1971 · 682 citations
Susan L. Graham, Peter B. Kessler, Marshall Kirk McKusick · ACM SIGPLAN Notices · 2004 · 101 citations