English

Enable Lightweight and Precision-Scalable Posit/IEEE-754 Arithmetic in RISC-V Cores for Transprecision Computing

Hardware Architecture 2025-05-27 v1 Artificial Intelligence

Abstract

While posit format offers superior dynamic range and accuracy for transprecision computing, its adoption in RISC-V processors is hindered by the lack of a unified solution for lightweight, precision-scalable, and IEEE-754 arithmetic compatible hardware implementation. To address these challenges, we enhance RISC-V processors by 1) integrating dedicated posit codecs into the original FPU for lightweight implementation, 2) incorporating multi/mixed-precision support with dynamic exponent size for precision-scalability, and 3) reusing and customizing ISA extensions for IEEE-754 compatible posit operations. Our comprehensive evaluation spans the modified FPU, RISC-V core, and SoC levels. It demonstrates that our implementation achieves 47.9% LUTs and 57.4% FFs reduction compared to state-of-the-art posit-enabled RISC-V processors, while achieving up to 2.54×\times throughput improvement in various GEMM kernels.

Keywords

Cite

@article{arxiv.2505.19096,
  title  = {Enable Lightweight and Precision-Scalable Posit/IEEE-754 Arithmetic in RISC-V Cores for Transprecision Computing},
  author = {Qiong Li and Chao Fang and Longwei Huang and Jun Lin and Zhongfeng Wang},
  journal= {arXiv preprint arXiv:2505.19096},
  year   = {2025}
}

Comments

Work in Progress

R2 v1 2026-07-01T02:37:07.205Z