Article View: comp.arch
Article #313Re: Interrupts in OoO (was: Microarchitectural support for counting)
From: John Savard
Date: Fri, 23 Oct 2026 23:57
Date: Fri, 23 Oct 2026 23:57
28 lines
2791 bytes
2791 bytes
On Sat, 05 Oct 2024 17:57:12 GMT, anton@mips.complang.tuwien.ac.at (Anton Ertl) wrote: >Ok, it's more efficient to insert an interrupt call into the >instruction stream in the decoder: all the in-flight instructions will >be completed instead of going to waste. However, the interrupt will >usually be serviced later, and, as you point out, if the instruction >stream is redirected for some other reason, you may have to replay the >interrupt. A _trap_ can be a problem on an out-of-order machine, since traps result from exceptions, and so they have to be tied to the instruction stream. An interrupt, on the other hand, just needs to get serviced. The process being interrupted just needs not to be disturbed by it. That leaves several alternatives. You could somehow make the machine act as if it has a second core just to serve interrupts. In fact, some early architectures anticipated SMT by having a second set of registers for privileged operation. Or, since interrupt routines _are_ at kernel level... when there's an interrupt, save the whole internal machine state, including the entire pipeline. After all, since interrupt routines are privileged, they can use a special return instruction that sets up the machine's internals instead of just restoring registers and branching somewhere. So, while interrupts _can_ be an issue for an OoO machine, they don't really have to be. John Savard
Technical Details
Message-ID:
<6adbf319.9129937@news.eternal-september.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mailReferences:
<2024Oct3.160055@mips.complang.tuwien.ac.at> <vdmrk6$3rksr$1@dont-email.me> <LyELO.69485$2nv5.62232@fx39.iad> <TdWLO.282116$FzW1.158190@fx14.iad> <963a276fd8d43e4212477cefae7f6e46@www.novabbs.org> <8IcMO.249144$v8v2.147178@fx18.iad> <2024Oct5.195712@mips.complang.tuwien.ac.at>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail From: quadibloc@invalid.com (John Savard) Newsgroups: comp.arch Subject: Re: Interrupts in OoO (was: Microarchitectural support for counting) Date: Fri, 23 Oct 2026 23:57:04 GMT Organization: A noiseless patient Spider Lines: 28 Message-ID: <6adbf319.9129937@news.eternal-september.org> References: <2024Oct3.160055@mips.complang.tuwien.ac.at> <vdmrk6$3rksr$1@dont-email.me> <LyELO.69485$2nv5.62232@fx39.iad> <TdWLO.282116$FzW1.158190@fx14.iad> <963a276fd8d43e4212477cefae7f6e46@www.novabbs.org> <8IcMO.249144$v8v2.147178@fx18.iad> <2024Oct5.195712@mips.complang.tuwien.ac.at> Injection-Date: Fri, 23 Oct 2026 23:57:03 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2402196"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/RPzHttLaPscDbk6gDsPWhmHJeoWIcAqQ="; posting-host="1d48ab0b967f4a15b49ce3b309c6839c" Cancel-Lock: sha1:uf5n4emp7ee5UJn0S74rD4oRLVQ= sha256:aWQK6ihbW2TA33ljj9XORuJ5W/7JPaq0x4fWkL7QRYY= sha1:AQP2Dasu5ZTQYs0ktYKkmzdq30s= sha256:2GLRyxyW7IOgBCr3PCwlpwhgDt6TU1kWd4V1xxqKI6c= X-Newsreader: Forte Free Agent 1.1/32.230