Hacker News new | ask | show | jobs
by fear91 670 days ago
It differs by CPU model.
1 comments

So some CPU models wait 120 cycles and others wait a millisecond (millions of cycles)? That seems like a pretty drastic difference. I wonder why they would write code with such a drastic difference between CPU models.
No, Haswell's PAUSE is 9 cycles, the P-cores of Alder Lake are 160 cycles. Zen 4 is 65.