RVfplib: A Fast and Compact Open-Source Floating-Point Emulation Library for Tiny RISC-V Processors

Open access
Date
2022Type
- Conference Paper
ETH Bibliography
yes
Altmetrics
Abstract
Small, low-cost IoT devices rely on floating-point (FP) software emulation on 32-bit integer cores when the cost of a full-fledged FPU is not affordable. Thus, the performance and code size of the FP emulation library are decisive for meeting energy and memory-size constraints. We propose RVfplib, the first ISA-optimized open-source library for single and double-precision IEEE 754 FP emulation on RV32IM[C] cores. RVfplib is 59% smaller and 2x faster than the GCC emulation library, on average. On benchmark programs, code size reduction is 39%, and performance boost 1.5x. RVfplib is 5.3% smaller than the leading closed-source RISC-V commercial library. Show more
Permanent link
https://doi.org/10.3929/ethz-b-000517867Publication status
publishedExternal links
Book title
Embedded Computer Systems: Architectures, Modeling, and SimulationJournal / series
Lecture Notes in Computer ScienceVolume
Pages / Article No.
Publisher
SpringerEvent
Organisational unit
03996 - Benini, Luca / Benini, Luca
Notes
Conference lecture held on July 5, 2021More
Show all metadata
ETH Bibliography
yes
Altmetrics