Schlamelcher, Jan and Grüttner, Kim (2022) A DSL based approach for supporting custom RISC-V instruction extensions in LLVM. 5th Workshop on RISC-V Activities, Berlin, Germany.
![]() |
PDF
- Only accessible within DLR
421kB |
![]() |
PDF
- Only accessible within DLR
398kB |
Abstract
The RISC-V ISA allows the definition of custom instruction extensions to support application specific hardware acceleration and optimization. The main challenge with instruction extensions is the time-consuming process of consistently integrating them within the processor design and the compiler support, and of provisioning a testing and evaluation framework for the software developer. Our work proposes an automatable customization of an LLVM compiler based on a DSL (Domain Specific Language) driven approach, which can already be used for the definition of the instruction extension, its integration into the RISC-V ISA, and the automatic synthesis of the processor core and an instruction set simulator. We demonstrate the whole generation flow on the example of a customized MAC instruction as a simple example and discuss the identified challenges.
Item URL in elib: | https://elib.dlr.de/191179/ | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Document Type: | Conference or Workshop Item (Speech, Poster) | ||||||||||||
Title: | A DSL based approach for supporting custom RISC-V instruction extensions in LLVM | ||||||||||||
Authors: |
| ||||||||||||
Date: | 7 November 2022 | ||||||||||||
Refereed publication: | No | ||||||||||||
Open Access: | No | ||||||||||||
Gold Open Access: | No | ||||||||||||
In SCOPUS: | No | ||||||||||||
In ISI Web of Science: | No | ||||||||||||
Status: | Published | ||||||||||||
Keywords: | RISC-V, ISAX, DSL, LLVM, Clang | ||||||||||||
Event Title: | 5th Workshop on RISC-V Activities | ||||||||||||
Event Location: | Berlin, Germany | ||||||||||||
Event Type: | Workshop | ||||||||||||
Organizer: | edacentrum e. V. und edacentrum GmbH | ||||||||||||
HGF - Research field: | Aeronautics, Space and Transport | ||||||||||||
HGF - Program: | Transport | ||||||||||||
HGF - Program Themes: | Road Transport | ||||||||||||
DLR - Research area: | Transport | ||||||||||||
DLR - Program: | V ST Straßenverkehr | ||||||||||||
DLR - Research theme (Project): | V - V&V4NGC - Methoden, Prozesse und Werkzeugketten für die Validierung & Verifikation von NGC | ||||||||||||
Location: | Oldenburg | ||||||||||||
Institutes and Institutions: | Institute of Systems Engineering for Future Mobility > System Evolution and Operation | ||||||||||||
Deposited By: | Schlamelcher, Jan | ||||||||||||
Deposited On: | 09 Jan 2023 09:13 | ||||||||||||
Last Modified: | 09 Jan 2023 09:13 |
Repository Staff Only: item control page