Skip to content
Proyek

akhin/microarchitecture-cheatsheet

Lihat di GitHub

Tentang

X86 CPU topics overview for developers , oriented towards performance

Pembelajaran dan pendidikan

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

Modern CPUs are very complex beasts and there are so much information about them across different departments , therefore they can be overwhelming. Microarchitecture cheat sheet aims to provide an organised collection of overviews about X86 CPUs that developers shall have on their mind when thinking about performance :

Last update date : 02 Jan, 2026

It divides that huge subject into following realms :

  • Pipeline realm
  • Arithmetic realm
  • Branch prediction realm
  • Load store realm
  • Cache memory realm
  • System memory realm
  • Virtual memory realm
  • Multicore realm
  • MultiCPU realm
  • "Across realms" realm

Major resources used:

Intel® 64 and IA-32 Architectures Software Developer’s Manual https://www.intel.com/content/www/us/en/developer/articles/technical/intel-sdm.html

Intel® 64 and IA-32 Architectures Optimization Reference Manual https://www.intel.com/content/www/us/en/developer/articles/technical/intel-sdm.html

AMD64 Architecture Programmer’s Manual: Volumes 1-5 https://docs.amd.com/v/u/en-US/40332-PUB_4.08

The microarchitecture of Intel, AMD, and VIA CPUs , by Agner Fog https://www.agner.org/optimize/microarchitecture.pdf

Instruction tables , by Agner Fog https://www.agner.org/optimize/instruction_tables.pdf

What every programmer should know about memory, by Ulrich Drepper https://akkadia.org/drepper/cpumemory.pdf

Licences:

As for info and visuals coming from other sources, I provided references with links.

Everything else is completely free.

Contact & feedbacks:

I don't claim that every information is exact or expressed in the best way. Some of them are topics that I had the chance to get my hands on during projects, but some other are from personal researches out of curiosity.

In case of an issue or suggestion, please feel free to raise an issue.

My email is [email protected] .

Misc:

  • I used diagrams.net ( which is open source version of drawio ) : https://app.diagrams.net/

Jelajahi proyek terkait

Memuat…