RISC-V is an open-source instruction set architecture (ISA) with a modular design consisting of a mandatory base part plus optional extensions. The RISC-V 32IMFC ISA configuration has been widely adopted for the design of new-generation, low-power processors. Motivated by the important energy savings that smaller-than-32-bit FP types have enabled in several application domains and related compute platforms, some recent studies have published encouraging early results for their adoption in RISC-V processors. In this paper we introduce a set of ISA extensions for RISC-V 32IMFC, supporting scalar and SIMD operations (fitting the 32-bit register size) for 8-bit and two 16-bit FP types. The proposed extensions are enabled by exposing the new FP types to the standard C/C++ type system and an implementation for the RISC-V GCC compiler is presented. As a further, novel contribution, we extensively characterize the performance and energy savings achievable with the proposed extensions. On average, experimental results show that their adoption provide benefits in terms of performance (1.64× speedup for 16-bit and 2.18× for 8-bit types) and energy consumption (30% saving for 16-bit and 50% for 8-bit types). We also illustrate an approach based on automatic precision tuning to make effective use of the new FP types.

Tagliavini G., MacH S., Rossi D., Marongiu A., Benini L. (2019). Design and Evaluation of SmallFloat SIMD extensions to the RISC-V ISA. Institute of Electrical and Electronics Engineers Inc. (IEEE) [10.23919/DATE.2019.8714897].

Design and Evaluation of SmallFloat SIMD extensions to the RISC-V ISA

Tagliavini G.
;
Rossi D.;Marongiu A.;Benini L.
2019

Abstract

RISC-V is an open-source instruction set architecture (ISA) with a modular design consisting of a mandatory base part plus optional extensions. The RISC-V 32IMFC ISA configuration has been widely adopted for the design of new-generation, low-power processors. Motivated by the important energy savings that smaller-than-32-bit FP types have enabled in several application domains and related compute platforms, some recent studies have published encouraging early results for their adoption in RISC-V processors. In this paper we introduce a set of ISA extensions for RISC-V 32IMFC, supporting scalar and SIMD operations (fitting the 32-bit register size) for 8-bit and two 16-bit FP types. The proposed extensions are enabled by exposing the new FP types to the standard C/C++ type system and an implementation for the RISC-V GCC compiler is presented. As a further, novel contribution, we extensively characterize the performance and energy savings achievable with the proposed extensions. On average, experimental results show that their adoption provide benefits in terms of performance (1.64× speedup for 16-bit and 2.18× for 8-bit types) and energy consumption (30% saving for 16-bit and 50% for 8-bit types). We also illustrate an approach based on automatic precision tuning to make effective use of the new FP types.
2019
Proceedings of the 2019 Design, Automation and Test in Europe Conference and Exhibition (DATE)
654
657
Tagliavini G., MacH S., Rossi D., Marongiu A., Benini L. (2019). Design and Evaluation of SmallFloat SIMD extensions to the RISC-V ISA. Institute of Electrical and Electronics Engineers Inc. (IEEE) [10.23919/DATE.2019.8714897].
Tagliavini G.; MacH S.; Rossi D.; Marongiu A.; Benini L.
File in questo prodotto:
File Dimensione Formato  
DATE19-isaext-IRIS.pdf

Open Access dal 18/11/2019

Tipo: Postprint
Licenza: Licenza per accesso libero gratuito
Dimensione 780.79 kB
Formato Adobe PDF
780.79 kB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11585/702370
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 24
  • ???jsp.display-item.citation.isi??? 16
social impact