FPnew: An Open-Source Multiformat Floating-Point Unit Architecture for Energy-Proportional Transprecision Computing

Stefan Mach, Fabian Schuiki, Florian Zaruba, Luca Benini · DOI

Abstract

As computing enters the post-Moore era, energy efficiency has become the primary design constraint. Transprecision computing—the ability to match numerical precision to algorithmic requirements—offers a path forward, yet hardware support remains rigid. This paper introduces FPnew, a highly configurable, open-source transprecision floating-point unit (TP-FPU). Supporting a vast range of formats from 64-bit double precision to 8-bit "mini-floats," FPnew enables energy-proportional computing. Integration into RISC-V cores yields up to 1.67x speedup and 37% energy reduction, with peak efficiencies reaching nearly 3 Tflop/sW.

Introduction

The "power wall" has forced a shift in architectural focus from raw performance to energy efficiency. In domains like Machine Learning and IoT, standard 32-bit or 64-bit floating-point (FP) arithmetic often provides excessive precision, leading to wasted area and power. While transprecision computing is a promising solution, existing FPUs typically support only one or two formats. FPnew addresses this gap by providing a flexible, hardware-agnostic FPU capable of handling a "Cambrian Explosion" of new formats (e.g., bfloat16, 8-bit floats) while maintaining energy proportionality.

The FPnew Architecture

FPnew is implemented as a flexible hardware IP block in SystemVerilog, organized into three hierarchical levels to balance performance, area, and energy efficiency.

FPnew architectural hierarchy showing operation group blocks, format slices, and SIMD lane packing.
  1. Operation Group Blocks: Instructions are categorized into four independent blocks: ADDMUL, DIVSQRT, COMP (comparisons), and CONV (conversions).
  2. Format Slices: Within each group, formats are implemented using either parallel slices (dedicated hardware per format for aggressive clock-gating) or merged slices (shared hardware to minimize area).
  3. SIMD Lanes: To maximize throughput, the unit automatically generates SIMD (Single Instruction, Multiple Data) lanes, filling the datapath width when processing narrower formats.

A key innovation is the "Expanding FMA," which allows multiplying narrow formats (e.g., FP16) and accumulating into wider formats (e.g., FP32) in a single cycle, preserving precision without the full cost of wide-format multiplication.

Implementation and Evaluation

The researchers integrated FPnew into two RISC-V cores: RI5CY (a 32-bit embedded core) and Ariane (a 64-bit application-class core). The architecture was validated using synthetic stress tests for peak power measurement and a real-world transprecision accumulation kernel common in signal processing. Physical measurements were obtained from silicon manufactured in Globalfoundries 22FDX technology.

Key Results and Insights

The evaluation revealed that while merging hardware saves area, parallel slices often provide superior energy efficiency due to fine-grained clock-gating. Furthermore, moving to narrower formats yields "super-proportional" energy savings; packing multiple operations into a single datapath amortizes the fixed energy overhead of the processor core (fetch, decode) across more operations.

Area breakdown of the RI5CY-based SoC and the internal composition of the FPU and Core.

Performance and Efficiency

  • Speedup: Mixed-precision accumulation on the RI5CY core achieved a 1.67x speedup over an FP32 baseline.
  • Energy Reduction: Total system energy was reduced by 37% while maintaining end-to-end precision equivalent to FP32.
  • Silicon Performance: The 64-bit FPU achieved 178 Gflop/sW for FP64 and 2.95 Tflop/sW for 8-bit formats. An 8-bit FMA operation consumes approximately 10.5x less energy than its 64-bit counterpart.

Conclusion and Future Work

FPnew demonstrates that hardware-supported transprecision computing can significantly enhance energy efficiency. However, challenges remain. Supporting numerous formats increases area; in the Ariane core, the TP-FPU increased total core area by 9.3% compared to standard units. Additionally, widespread adoption requires improved high-level compiler support to make these hardware features accessible beyond manual tuning. Future iterations may explore "non-compliant" modes, such as omitting denormal support, to further optimize deep learning workloads.

Summary updated

BibTeX
@article{mach2021fpnew,
  author = {Stefan Mach and Fabian Schuiki and Florian Zaruba and Luca Benini},
  title = {{FPnew: An Open-Source Multiformat Floating-Point Unit Architecture for Energy-Proportional Transprecision Computing}},
  journal = {IEEE Trans. Very Large Scale Integr. Syst.},
  year = {2021},
  doi = {10.1109/tvlsi.2020.3044752},
}
Figure