English

Automatic Microarchitecture-Aware Custom Instruction Design for RISC-V Processors

Hardware Architecture 2025-12-16 v2

Abstract

An Application-Specific Instruction Set Processor(ASIP) is a specialized microprocessor that provides a trade-off between the programmability of a General Purpose Processor (GPP) and the performance and energy-efficiency of dedicated hardware accelerators. ASIPs are often derived from off-the-shelf GPPs extended by custom instructions tailored towards a specific software workload. One of the most important challenges of designing an ASIP is to find said custom instructions that help to increase performance without being too costly in terms of area and power consumption. To date, solving this challenge is relatively labor-intensive and typically performed manually. Addressing the lack of automation, we present Custom Instruction Designer for RISC-V Extensions (CIDRE), a front-to-back tool for ASIP design. CIDRE automatically analyzes hotspots in RISC-V applications and generates custom instruction suggestions with a corresponding nML description. The nML description can be used with other electronic design automation tools to accurately assess the cost and benefits of the found suggestions. In a RISC-V benchmark study, we were able to accelerate embedded benchmarks from Embench and MiBench by up to 2.47x with less than 24% area increase. The entire process was conducted completely automatically.

Keywords

Cite

@article{arxiv.2509.15782,
  title  = {Automatic Microarchitecture-Aware Custom Instruction Design for RISC-V Processors},
  author = {Evgenii Rezunov and Niko Zurstraßen and Lennart M. Reimann and Rainer Leupers},
  journal= {arXiv preprint arXiv:2509.15782},
  year   = {2025}
}

Comments

PREPRINT - Published at the 2025 IEEE/ACM International Conference On Computer-Aided Design (ICCAD) DOI: 10.1109/ICCAD66269.2025.11240781

R2 v1 2026-07-01T05:45:29.482Z