Bataev | LLVM Compiler for RISC-V Architecture | Buch | 979-8-8688-2168-4 | www2.sack.de

Buch, Englisch, 322 Seiten, Format (B × H): 155 mm x 235 mm

Reihe: Maker Innovations Series

Bataev

LLVM Compiler for RISC-V Architecture

A Unique Approach to Vectorization
1. Auflage 2025
ISBN: 979-8-8688-2168-4
Verlag: APRESS L.P.

A Unique Approach to Vectorization

Buch, Englisch, 322 Seiten, Format (B × H): 155 mm x 235 mm

Reihe: Maker Innovations Series

ISBN: 979-8-8688-2168-4
Verlag: APRESS L.P.


This book offers a comprehensive introduction to the RISC-V RVV extension and its integration with LLVM-based compilers. It covers the LLVM VPlan-based Loop Vectorizer and SLP Vectorizer, along with additional insights into the clang frontend, OpenMP support, and RVV-specific clang directives provided by SiFive.

Given the limited information currently available on RVV and its support in modern compilers, this book fills a crucial gap. RVV introduces a unique approach to vectorization—Vector Length Agnostic (VLA) vectorization—which stands out from the fixed vectors of x86 and the runtime-defined, yet fixed, ARM-based SVE and SVE2 extensions.

Readers will gain an understanding of RVV-specific VLA-based vectorization support in LLVM-based compilers, which are still under development. The book also provides early insights into the ongoing support for RVV in LLVM.

What You'll Learn

  • Gain foundational knowledge of RISC-V and the RVV extension.
  • Learn design and implementation of LLVM vectorizers.
  • Learn to optimize performance with RVV-specific clang directives.
  • Explore the unique Vector Length Agnostic (VLA) vectorization.
  • Discover the differences between RVV and other vector extensions.

Who This Book Is For

1. For the engineers, who would like to get more info about RISC-V in general and RISC-V Vectorextension particularly.

2. For the developers, trying to get the performance using RVV.

3. For LLVM compiler developers, trying or learn more about vectorization support in LLVM.4.

4. For the students, who learn new about RISC- V, its extensions, interested in compiler development.

Bataev LLVM Compiler for RISC-V Architecture jetzt bestellen!

Zielgruppe


Professional/practitioner


Autoren/Hrsg.


Weitere Infos & Material


Chapter 1: Introduction.- RISC-V Vector Extension Introduction.- Chapter 2: RISC-V RVV support in clang-based compiler.- Chapter 3: Vector support extensions in clang-based compilers.- Chapter 4: RISC-V RVV specific LLVM-based optimizations.- Chapter 5: LLVM Loop Vectorizer.- Chapter 6: LLVM SLP Vectorizer.


Alexey Bataev is an experienced compiler engineer with a proven track record in software systems development, specializing in compilers, embedded platforms, and toolchain infrastructure. Areas of expertise include C++, LLVM, Clang, SLP Vectorization, OpenMP, Embedded Linux, and test automation. Holds a Ph.D. in Computer Science. Maintainer of the SLP Vectorizer in LLVM, OpenMP support in Clang. Author of peer-reviewed publications in the field of compiler technology.



Ihre Fragen, Wünsche oder Anmerkungen
Vorname*
Nachname*
Ihre E-Mail-Adresse*
Kundennr.
Ihre Nachricht*
Lediglich mit * gekennzeichnete Felder sind Pflichtfelder.
Wenn Sie die im Kontaktformular eingegebenen Daten durch Klick auf den nachfolgenden Button übersenden, erklären Sie sich damit einverstanden, dass wir Ihr Angaben für die Beantwortung Ihrer Anfrage verwenden. Selbstverständlich werden Ihre Daten vertraulich behandelt und nicht an Dritte weitergegeben. Sie können der Verwendung Ihrer Daten jederzeit widersprechen. Das Datenhandling bei Sack Fachmedien erklären wir Ihnen in unserer Datenschutzerklärung.