中文

Code size reduction by advanced near addressing modes

硬件体系结构 2026-05-26 v1

摘要

To enable debugging and calibration of real time systems, which are in interaction with the real plant, the software used on those systems often has a huge number of global variables. The huge number of global variables exceed the range addressable relative to the global pointer. Therefore, addressing these variables normally needs two instructions. Other CPU architectures commonly used in the real time control systems domain address these by various near addressing modes. This results in significant code size reductions and performance boost. This paper discusses different variants to add such near addressing features to the RISC-V ISA. The impact on the code size is evaluated with different representative workloads.

关键词

引用

@article{arxiv.2605.25602,
  title  = {Code size reduction by advanced near addressing modes},
  author = {Kajetan Nuernberger and Thomas Roecker and Gergely Fueto and Gabor Spaits and Horst Lehser},
  journal= {arXiv preprint arXiv:2605.25602},
  year   = {2026}
}