BibTeX
@inproceedings{lai_25_rvv,
author = {Hung-Ming Lai and Pei-Hung Lin and Maya B. Gokhale and Ivy Bo Peng and Hiren Patel and Jenq-Kuen Lee},
booktitle = {{Proceedings of the SC '25 Workshops of the International Conference for High Performance Computing, Networking, Storage and Analysis}},
pages = {1676--1683},
publisher = {ACM},
month = {nov},
doi = {10.1145/3731599.3767535},
title = {{RISC-V Vectorization Coverage for HPC: A TSVC-Based Analysis}},
year = {2025}
} Abstract
The RISC-V Vector Extension (RVV) introduces scalable, vector-length agnostic operations with strong potential for high-performance computing (HPC). This paper presents a TSVC-based instruction coverage analysis of RVV to evaluate current compiler auto-vectorization support. We compile TSVC with GNU and LLVM under both vector-length agnostic (VLA) and vector-length specific (VLS) modes and analyze the emitted instructions against the RVV 1.0 specification. Our results quantify instruction usage across key groups, identify missed instructions, and classify the causes of failed vectorization, including compiler backend limitations, absent use cases in TSVC, and nontrivial or unsupported patterns. We also highlight TSVC’s limitations, including ambiguous kernel vectorizability and missing representations of modern HPC-relevant patterns. Finally, we suggest directions for enhancing benchmark suites to better reflect RVV capabilities and guide compiler development for HPC workloads.