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

📅 2025-05-25
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
To address the demand for lightweight, precision-scalable floating-point arithmetic in RISC-V processors, this paper proposes a unified hardware architecture enabling deep integration of posit and IEEE-754 floating-point computation—first of its kind. Methodologically, we design a lightweight posit encode/decode unit supporting dynamic exponent-width configuration for multiple precisions (e.g., p = 8–32), reuse and extend existing RISC-V FPU hardware, and define custom ISA instructions (evolving from RV32/64F/D) fully compatible with IEEE-754. Our contributions are threefold: (1) the first software–hardware co-designed unified floating-point unit; (2) 47.9% reduction in LUTs and 57.4% reduction in FFs versus state-of-the-art designs; and (3) 2.54× throughput improvement in GEMM kernels, significantly enhancing energy efficiency across mixed-precision computations.

Technology Category

Application Category

📝 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$ imes$ throughput improvement in various GEMM kernels.
Problem

Research questions and friction points this paper is trying to address.

Lack of unified lightweight posit arithmetic in RISC-V
Need for precision-scalable posit/IEEE-754 compatible hardware
High resource overhead in existing posit-enabled RISC-V designs
Innovation

Methods, ideas, or system contributions that make the work stand out.

Integrating posit codecs into FPU for lightweight design
Supporting multi/mixed-precision with dynamic exponent size
Customizing ISA extensions for IEEE-754 compatibility
🔎 Similar Papers
No similar papers found.
Q
Qiong Li
School of Electronic Science and Engineering, Nanjing University
Chao Fang
Chao Fang
Shanghai Qi Zhi Institute
efficient MLAI acceleratorhardware-software co-designprecision-scalable computingRISC-V
L
Longwei Huang
School of Electronic Science and Engineering, Nanjing University
J
Jun Lin
School of Electronic Science and Engineering, Nanjing University
Zhongfeng Wang
Zhongfeng Wang
Nanjing University
VLSIFECDSPMIMONeural Network