Eight-Bit Vector SoftFloat Extension for the RISC-V Spike Simulator
Open Access
- 1 October 2025
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 14 (19) , 3924
Abstract
The recent demand for 8-bit floating-point (FP) formats is driven by their potential to accelerate domain-specific applications with intensive vector computations (e.g., machine learning, graphics, and data compression). This paper presents the design, implementation, and application of the software model of an 8-bit FP vector arithmetic operation set, compliant with the RISC-V vector instruction set architecture. The model has been developed as an extension of the SoftFloat library and integrated into the RISC-V reference instruction-level simulator Spike, providing the first open-source 8-bit SoftFloat extension for an instruction-set simulator. Based on the SoftFloat library templates for standard FP formats, the proposed extension implements the two widely used 8-bit formats E4M3 and E5M2 in both Open Compute Project (OCP) and IEEE 754 variants. In host-time micro-kernels, FP8 delivers +2–4% more elements per second versus FP32 (across vfadd/vfsub/vfmul) and ≈5% lower RSS; E4M3 and E5M2 perform similarly. Enabling FP8 in Spike increases the stripped binary by ~1.8% (mostly .text). The proposed extension was used to fully verify and correct errors in the vector FP unit design for the eProcessor European project, and continues to be used to verify other 8-bit FP unit implementations.Keywords
All Related Versions
Funding Information
- European High-Performance Computing Joint Undertaking (956702)
This publication has 6 references indexed in Scilit:
- VNDHR: Variational Single Nighttime Image Dehazing for Enhancing Visibility in Intelligent Transportation Systems via Hybrid RegularizationIEEE Transactions on Intelligent Transportation Systems, 2025
- Effect of bit-size reduced half-precision floating-point format on image pixel characterization for AI applicationsResults in Engineering, 2024
- Mortar-FP8: Morphing the Existing FP32 Infrastructure for High-Performance Deep Learning AccelerationIEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems, 2023
- NVIDIA Hopper H100 GPU: Scaling PerformanceIEEE Micro, 2023
- Rethinking the Importance of Quantization Bias, Toward Full Low-Bit TrainingIEEE Transactions on Image Processing, 2022
- A transprecision floating-point platform for ultra-low power computing2018