Search NASA⌕ Search

DOE OSTI · 1822037

A Case Study of LLVM-Based Analysis for Optimizing SIMD Code Generation

Abstract

This paper presents a methodology for using LLVM-based tools to tune the DCA++ (dynamical cluster approximation) application that targets the new ARM A64FX processor. The goal is to describe the changes required for the new architecture and generate efficient single instruction/multiple data (SIMD) instructions that target the new Scalable Vector Extension instruction set. During manual tuning, the authors used the LLVM tools to improve code parallelization by using OpenMP SIMD, refactored the code and applied transformation that enabled SIMD optimizations, and ensured that the correct libraries were used to achieve optimal performance. By applying these code changes, code speed was increased by 1.98× and 78 GFlops were achieved on the A64FX processor. The authors aim to automatize parts of the efforts in the OpenMP Advisor tool, which is built on top of existing and newly introduced LLVM tooling.

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Huber, Joseph, Wei, Weile, Georgakoudis, Giorgis, Doerfert, Johannes, Hernandez, Oscar. 2021-09-01. A Case Study of LLVM-Based Analysis for Optimizing SIMD Code Generation. https://www.osti.gov/biblio/1822037

Cite the original work for its findings. Save a collection to share your selection of sources.