IntrinTrans: LLM-based Intrinsic Code Translator for RISC-V Vector
Not on the map. Why?
Abstract (arXiv)
The use of intrinsic functions to leverage hardware-specific capabilities is a crucial approach for optimizing library performance. Many mainstream libraries implement a large number of vectorized algorithms on Arm or x86 SIMD (Single-Instruction, Multiple-Data) intrinsic functions. Translating existing vectorized intrinsic code into the intrinsics of an emerging architecture is a practical and effective approach. However, current cross-architecture translation largely relies on manual rewriting or rule-based mapping methods, which are both time-consuming and prone to errors. We present textttIntrinTrans, a LLM-based agent that utilizes compile-and-test feedback to translate intrinsic code across architectures automatically, and further optimizes the generated intrinsics using register-usage information derived from liveness analysis. To evaluate the effectiveness of our method, we used textttIntrinTrans to translate the open-source benchmark from Arm Neon Intrinsic to the emerging RISC-V Vector (RVV) Intrinsic implementation and compared its performance with that of the native RVV implementation. Our experiments show that advanced LLMs can generate semantically correct RVV Intrinsic functions with only a finite number of iterations. Depending on the base LLMs, the pass rate ranges from 47% to 100%, achieving performance similar to the native implementation (0.85x to 1.28x).
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). First posted on arXiv 11 Oct 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
- 2025Instruction Set Migration at Warehouse Scalecited by 0
- 2026AutoVecCoder: Teaching LLMs to Generate Explicitly Vectorized Codecited by 0
- 2026AutoVecCoder: Teaching LLMs to Generate Explicitly Vectorized Code18 May 2026
- 2025Instruction Set Migration at Warehouse Scale16 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2026LACE: Large Language Model Aided Multi-Agent Framework for Agile RISC-V Instruction Extension
- 2024AutoVCoder: A Systematic Framework for Automated Verilog Code Generation using LLMs
- 2025LLM-Assisted Translation of Legacy FORTRAN Codes to C++: A Cross-Platform Study
- 2025hdl2v: A Code Translation Dataset for Enhanced LLM Verilog Generation
- 2025DeepV: A Model-Agnostic Retrieval-Augmented Framework for Verilog Code Generation with a High-Quality Knowledge Base
- 2025VQ-LLM: High-performance Code Generation for Vector Quantization Augmented LLM Inference
- 2025RTLRepoCoder: Repository-Level RTL Code Completion through the Combination of Fine-Tuning and Retrieval Augmentation
- 2026ParBench: A Benchmark for Reliable Evaluation of LLM Parallel Code Translation