SKU/Artículo: AMZ-B0FGVQYWF2

LEARN LLVM CODE GENERATION STEP BY STEP: A Practical Guide to Instruction Selection, Register Allocation, and Backend Development with LLVM

Format:

Paperback

Kindle

Paperback

Detalles del producto
Disponibilidad:
En stock
Peso con empaque:
0.31 kg
Devolución:
Condición
Nuevo
Producto de:
Amazon
Viaja desde
USA

Sobre este producto
  • From Toy CPUs to Real Compiler Power: The Unexpected Journey Behind Machine CodePicture this: You're staring at a block of LLVM IR on your screen, trying to figure out how it becomes actual machine code. You know it happens—somewhere deep in the backend—but how? And why does every explanation feel either overly academic or written for LLVM insiders?That’s when I hit a wall with a real project.I was trying to write a backend for a custom 8-bit CPU. Everything was working—until I realized the compiler was emitting garbage assembly. It wasn’t just broken. It was unreadable.So I dove into LLVM's backend… and found a system as structured as a well-run microprocessor factory. Instruction selection. Register allocation. Stack frame layout. Binary emission. Every piece had a job—and if I didn't learn how to control them, I wasn’t building anything useful.The Hidden Structure Inside Every Working CompilerLLVM isn't just a compiler infrastructure. It's a machine that transforms high-level logic into hardware behavior. And once you understand the backend, you're not just using LLVM—you’re engineering with it.This Book Is Your Practical Guide to That SystemLearn LLVM Code Generation Step by Step is written for:System-level developers who want to understand how code becomes instructionsCompiler hobbyists and students working on custom architectures or toy languagesEngineers building real-world backend pipelines for embedded or niche hardwareInside, you'll walk through:Building your own backend from scratch, including defining a target CPUWriting instruction selectors with SelectionDAG and GlobalISelCreating custom register allocators and stack frame layoutsEmitting actual machine code, debugging it, and making it testableLearning real-world lessons from a full case study backend (Toy8)This isn’t a lecture—it’s a blueprint. Whether you're building a hobby compiler, optimizing for performance, or porting to unusual hardware, this guide gives you the working knowledge to do it right.It’s the book I wish I had when I started.
AR$72.335
55% OFF
AR$32.878

IMPORT EASILY

By purchasing this product you can deduct VAT with your RUT number

AR$72.335
55% OFF
AR$32.878

Pagá fácil y rápido con Mercado Pago o MODO

Llega en 8 a 12 días hábiles
con envío
Tienes garantía de entrega
Este producto viaja de USA a tus manos en