Get the latest tech news

Branch prediction: Why CPUs can't wait?


Recently, I have had some free time and started learning some low-level computer fundamentals, trying to practice and better understand the concepts in greater detail. Along the way, I learned […]

Recently, I have had some free time and started learning some low-level computer fundamentals, trying to practice and better understand the concepts in greater detail. Both processes produce the same 100K products Both use identical logic and calculations Both access the same amount of memory The only difference is data ordering We just need to plug these numbers into the formula and see how much time it theoretically takes a regular computer to process 100K products with the branch prediction success rate of 95%:

Get the Android app

Or read this on Hacker News

Read more on:

Photo of cpus

cpus

Photo of Branch prediction

Branch prediction

Related news:

News photo

Intel ISPC 1.28 Adds Optimized Support For AMD Zen 4 & Zen 5 CPUs

News photo

DDR5-6400 vs. DDR5-4800 R-DIMM Performance For Threadripper 9980X / 9970X CPUs

News photo

AMD Zen 5 CPUs See First Microcode Updates In Linux-Firmware.Git