Конвеєризація інструкцій

Техніка перекриття виконання кількох інструкцій.

🌐 Терміни іншими мовами:

Pipelining is like an assembly line for CPU instructions. Instead of waiting for one instruction to finish all its stages before starting the next, a pipelined CPU starts fetching the second instruction as soon as the first one moves to the Decode stage.

        graph LR
  Center["Конвеєризація інструкцій"]:::main
  Rel_multiprocessing["multiprocessing"]:::related -.-> Center
  click Rel_multiprocessing "/terms/multiprocessing"
  Rel_concurrency["concurrency"]:::related -.-> Center
  click Rel_concurrency "/terms/concurrency"
  Rel_parallelism["parallelism"]:::related -.-> Center
  click Rel_parallelism "/terms/parallelism"
  classDef main fill:#7c3aed,stroke:#8b5cf6,stroke-width:2px,color:white,font-weight:bold,rx:5,ry:5;
  classDef pre fill:#0f172a,stroke:#3b82f6,color:#94a3b8,rx:5,ry:5;
  classDef child fill:#0f172a,stroke:#10b981,color:#94a3b8,rx:5,ry:5;
  classDef related fill:#0f172a,stroke:#8b5cf6,stroke-dasharray: 5 5,color:#94a3b8,rx:5,ry:5;
  linkStyle default stroke:#4b5563,stroke-width:2px;

      

🧠 Перевірка знань

1 / 1

🧒 Простими словами

Конвеєризація — це як прання: ти кладеш другу порцію білизни в пралку, поки перша ще сушиться. Так обидві машини працюють одночасно, і робота йде швидше.

🤓 Expert Deep Dive

Конфлікти конвеєра (Data, Control hazards) можуть викликати простої. Прогнозування розгалужень є критичним для підтримки швидкості.

📚 Джерела