All Topics
All Topics
Technology
Technology
Design
Design
Programming
Programming
Science
Science
News
News
Gaming
Gaming
Entertainment
Entertainment
Business
Business
Finance
Finance
Sports
Sports
Health
Health
Food
Food
Travel
Travel
Art
Art
Music
Music
Books
Books
Education
Education
Politics
Politics
Personal
Personal
No algorithm. No AI slop. No ads. Just RSS. Pro-human. Indie writers. Real journalism. Open web. Chronological. Hand toasted.

Understanding CPU Pipelining and Its Evolution into Branch Prediction

By

flipacholas

1mo ago· 8 min readenInsight

Summary

This article explores CPU pipelining concepts as part of a branch prediction series, explaining how modern processors optimize instruction execution through pipeline stages. The author discusses the evolution from simple pipelining to complex branch prediction mechanisms, including branch delay slots and how they evolved into modern prediction techniques. The content delves into the technical details of CPU architecture, pipeline hazards, and performance optimization strategies used in processors like MIPS and modern x86 architectures.

Key quotes

· 5 pulled
I want to share what I've learned about CPU pipelining.
I was motivated to dive into the details after reading Rodrigo Copetti's Playstation MIPS write-up where he talked about branch delay slots and how they evolved into branch prediction.
I quickly found many subtle and fascinating details on CPU pipelining that I had previously overlooked.
This is part of my branch prediction series.
Visualizing CPU Pipelining | Why Branch Prediction Needs Real Data | Hacking LLDB to Evaluate Branch Predictions (coming soon)
Snippet from the RSS feed
This is part of my branch prediction series.

You might also wanna read