Francesco Mazzoli personal blog

Beating the L1 cache with value speculation (2021)

If we have a heuristic to guess some value cheaply, we can remove a data dependency in a tight loop using the branch predictor. This allows the CPU to run more instructions in parallel, increasing performance. If this explanation does not make much sense to you, keep reading to learn about some of the magic making…
Points
248
HN comments
133
Submissions
2
Cited by
0 commenters

Systems & PerformanceHardware & Electronics2024

On Hacker News

SubmittedTitle on HNPointsComments
Jul 11, 2024Beating the L1 cache with value speculation (2021) by nickdevx24880
Jul 23, 2021Beating the L1 cache with value speculation by rostayob15753

More from Francesco Mazzoli

All 9 posts →

Related posts from the same era