YoVDO

Automatic Promotion of Helper Functions to TCG Using LLVM

Offered By: KVM Forum via YouTube

Tags

QEMU Courses Compilers Courses Instruction Set Architecture Courses Code Optimization Courses LLVM Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore a build-time tool called helper2tcg that translates C helper functions directly to optimized Tiny Code Generators for QEMU. Learn how this IR-to-IR translator maps LLVM IR produced by clang to QEMU's IR, leveraging existing optimization passes like autovectorization to produce efficient output code with minimal manual effort. Discover the tool's application to the Hexagon frontend, where it emits efficient Tiny Code for 1400 out of 2000 instructions, resulting in impressive performance improvements, particularly for vector instructions with up to 40x speedup. Witness an interactive demo showcasing C to TCG mappings in this 28-minute KVM Forum talk, which addresses the challenges of describing instruction semantics using Tiny Code for CISC architectures in QEMU frontends.

Syllabus

Automatic promotion of helper functions to TCG using LLVM


Taught by

KVM Forum

Related Courses

RISC-V Toolchain and Compiler Optimization Techniques
Linux Foundation via edX
Get Started Using WebAssembly (wasm)
egghead.io
A Long Journey of Changing std::sort Implementation at Scale
CppCon via YouTube
A Taste of Julia
ACCU Conference via YouTube
AI-Driven Performance Metaprogramming - Embedding Spaces for Program Analysis and Optimization
Scalable Parallel Computing Lab, SPCL @ ETH Zurich via YouTube