4 ms·
Linus' post is 15+ years old. Much has changed in Intel hardware since then. He was probably right on the money re the hardware available at the time.
by seventhson 3y ago
Linus' post is 15+ years old. Much has changed in Intel hardware since then. He was probably right on the money re the hardware available at the time.
- torstenvl 3y ago> I don't know when the change was made, but conditional moves are fast and efficient on the last several generations of AMD and Intel processors. Usually, you are trading 1 or 2 extra cycles of latency against the chance of a ~15 cycle mispredicted branch penalty. If your branch cannot be predicted correctly ~85% of the time, this can be a significant win. https://news.ycombinator.com/item?id=10749195 https://news.ycombinator.com/item?id=10749195
- zaxomi 3y agoI read the rant. He is talking about Pentium 4.