Skip to content
المشاريع

akhin/microarchitecture-cheatsheet

عرض على GitHub

حول

X86 CPU topics overview for developers , oriented towards performance

التعلّم والتعليم

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
٠
خلال 15 يومًا
٠
خلال شهر
جارٍ جمع السجل

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

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/

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…