Author
Agner Fog
5 books in the library.
Calling Conventions for Different C++ Compilers and Operating Systems
Agner Fog
The fifth of Agner Fog's optimization manuals. Documents how C++ compilers on x86 pass arguments, return values, and objects; name mangling schemes; exception handling; object file formats; and how to write code portable across compilers.
C++AdvancedOfficial Free DistributionPDF · 1.0 MBThe Microarchitecture of Intel, AMD and VIA CPUs
Agner Fog
The third of Agner Fog's optimization manuals. A detailed reference on how modern x86 processors work internally — pipelines, out-of-order execution, branch prediction, caches, and execution units — for every major microarchitecture generation.
Computer ArchitectureAdvancedOfficial Free DistributionPDF · 2.1 MBOptimizing Software in C++
Agner Fog
The first of Agner Fog's five optimization manuals. A practical guide to writing fast C++: choosing platforms and compilers, the cost of language constructs, memory access, vectorization, and multithreading, grounded in real measurements.
C++AdvancedOfficial Free DistributionPDF · 1.8 MBOptimizing Subroutines in Assembly Language
Agner Fog
The second of Agner Fog's optimization manuals. Covers x86 assembly optimization in depth: ABI conventions, inline assembly, instruction scheduling, vector code with SSE/AVX, and building libraries compatible across compilers and platforms.
Computer ArchitectureAdvancedOfficial Free DistributionPDF · 1.6 MBInstruction Tables
Agner Fog
The fourth of Agner Fog's optimization manuals. Measured instruction latency, throughput, and micro-op data for x86 processors across many generations — an essential reference for low-level performance work.
Computer ArchitectureAdvancedOfficial Free DistributionPDF · 1.0 MB