Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1007/978-3-031-04580-6_2guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

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

Published: 04 July 2021 Publication History

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 2× faster than the GCC emulation library, on average. On benchmark programs, code size reduction is 39%, and performance boost 1.5×. RVfplib is 5.3% smaller than the leading closed-source RISC-V commercial library.

References

[2]
Bertaccini, L., Perotti, M., Mach, S., Schiavone, P.D., Zaruba, F., Benini, L.: Tiny-FPU: low-cost floating-point support for small RISC-V MCU cores. In: 2021 IEEE International Symposium on Circuits and Systems (ISCAS), pp. 1–5 (2021).
[3]
Code size reduction official sub-committee. https://lists.riscv.org/g/tech-code-size
[6]
Gautschi, M., et al.: Near-threshold RISC-V core with DSP extensions for scalable IoT endpoint devices. IEEE Trans. Very Large Scale Integr. (VLSI) Syst. 25(10), 2700–2713 (2017).
[7]
GigaDevice Semiconductor Inc.: GD32VF103 RISC-V 32-bit MCU User Manual, Revision 1.2, October 2019
[8]
Gottscho M, Alam I, Schoeny C, Dolecek L, and Gupta P Low-cost memory fault tolerance for IoT devices ACM Trans. Embed. Comput. Syst. 2017 16 5s 1-25
[12]
Perotti, M., et al.: HW/SW approaches for RISC-V code size reduction (2020).
[13]
Pimentel, J.J., Bohnenstiehl, B., Baas, B.M.: Hybrid hardware/software floating-point implementations for optimized area and throughput tradeoffs. IEEE Trans. Very Large Scale Integr. (VLSI) Syst. 25(1), 100–113 (2016)

Index Terms

  1. RVfplib: A Fast and Compact Open-Source Floating-Point Emulation Library for Tiny RISC-V Processors
        Index terms have been assigned to the content through auto-classification.

        Recommendations

        Comments

        Information & Contributors

        Information

        Published In

        cover image Guide Proceedings
        Embedded Computer Systems: Architectures, Modeling, and Simulation: 21st International Conference, SAMOS 2021, Virtual Event, July 4–8, 2021, Proceedings
        Jul 2021
        527 pages
        ISBN:978-3-031-04579-0
        DOI:10.1007/978-3-031-04580-6

        Publisher

        Springer-Verlag

        Berlin, Heidelberg

        Publication History

        Published: 04 July 2021

        Author Tags

        1. RISC-V
        2. Embedded
        3. IoT
        4. Floating-point
        5. Library
        6. Size
        7. Performance

        Qualifiers

        • Article

        Contributors

        Other Metrics

        Bibliometrics & Citations

        Bibliometrics

        Article Metrics

        • 0
          Total Citations
        • 0
          Total Downloads
        • Downloads (Last 12 months)0
        • Downloads (Last 6 weeks)0
        Reflects downloads up to 02 Sep 2024

        Other Metrics

        Citations

        View Options

        View options

        Get Access

        Login options

        Media

        Figures

        Other

        Tables

        Share

        Share

        Share this Publication link

        Share on social media