When an interrupt occurs, what happens to instructions in the pipeline?
First, terminology: Usually, at Intel at least, an interrupt is something that comes from the outside world. Usually it is not synchronized with instructions executing on the processor, i.e. it is an asynchronous external interrupt. In Intel terminology an exception is something caused by instructions executing on the processor. E.g. a page fault, or an … Read more