EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Eight-Bit Vector SoftFloat Extension for the RISC-V Spike Simulator

Andrea Marcelli, Abdallah Cheikh, Marcello Barbirotta, Antonio Mastrandrea, Francesco Menichelli, Mauro Olivieri

Electronics · 01.10.2025 · 14 (19) · 3924

DOI: 10.3390/electronics14193924 ↗

Kurz gefasst

Fachartikel in der Zeitschrift Electronics, online erschienen am 01.10.2025. Verfasst von Andrea Marcelli und 5 weiteren Autor:innen. Die Arbeit wurde bisher 1-mal zitiert (Crossref) und nennt 26 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0). Gefördert von: European High-Performance Computing Joint Undertaking.

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

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.

Förderung

  • European High-Performance Computing Joint Undertaking

Zitieren

APA

Marcelli, A., Cheikh, A., Barbirotta, M., Mastrandrea, A., Menichelli, F., & Olivieri, M. (2025). Eight-Bit Vector SoftFloat Extension for the RISC-V Spike Simulator. Electronics, 14(19), 3924. https://doi.org/10.3390/electronics14193924

Vancouver

Marcelli A, Cheikh A, Barbirotta M, Mastrandrea A, Menichelli F, Olivieri M. Eight-Bit Vector SoftFloat Extension for the RISC-V Spike Simulator. Electronics. 2025;14(19):3924. doi:10.3390/electronics14193924

BibTeX
@article{Marcelli2025,
  author = {Marcelli, Andrea and Cheikh, Abdallah and Barbirotta, Marcello and Mastrandrea, Antonio and Menichelli, Francesco and Olivieri, Mauro},
  title = {Eight-Bit Vector SoftFloat Extension for the RISC-V Spike Simulator},
  journal = {Electronics},
  year = {2025},
  volume = {14},
  number = {19},
  pages = {3924},
  doi = {10.3390/electronics14193924}
}
Kostenlos starten →