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
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jul 11, 2024 | Beating the L1 cache with value speculation (2021) by nickdevx | 248 | 80 |
| Jul 23, 2021 | Beating the L1 cache with value speculation by rostayob | 157 | 53 |