3 ms·
I remember reading this many years ago, it was great. In the last week Raymond Chen on his The Old New Thing mentioned the concept of delay slots on some CPUs.
by MBCook 7mo ago
I remember reading this many years ago, it was great.
In the last week Raymond Chen on his The Old New Thing mentioned the concept of delay slots on some CPUs.
It sounds like a similar thing, just formalized so it’s not a bug. Knowing that the instruction after a branch always executes, regardless of if the branch is taken.
Do I have that right?
- brucedawson 7mo agoI think that is correct, but yes, a delay-slot instruction that is always executed is easy to reason about. Speculative execution that gets real? shudder
- MBCook 7mo agoRight. Thanks.