More on Context Flush
A context flush signals that the CPU is recovering from a mis-predicted branch
ALL current speculative instructions (SPEC_FLAG = TRUE) must be transformed into NOPS
- A speculative instruction within an execution unit pipeline would be changed into a NOP.
- Speculative Shelves, ROB entries are marked as invalid.
- May go back under speculative execution with next instruction fetch, so need to get rid of ‘old’ speculative instructions.