4 ms·
Can modern chips hold instructions from different processes in the reorder buffer tagging them by their context/PID? If so, up to four processes could be runnin
by rbanffy 4y ago
Can modern chips hold instructions from different processes in the reorder buffer tagging them by their context/PID? If so, up to four processes could be running 128-bit SIMD ops concurrently.
- wmf 4y agoThat's SMT but Neoverse cores don't use it.
- rbanffy 4y agoSMT would be from “virtual” cores. Does the reorder buffer get emptied when a processor switches context or do the in-flight instructions continue there and instructions from a different process start coming in?
- wmf 4y agoI assume the kernel code to perform the context switch is big enough to fill the ROB.
- rbanffy 4y agoGood point, still, context switch code can enter the ROP before the previous instruction flow is retired. Is the ROB explicitly flushed or can instructions from different processes (or a user process and the kernel) coexist in the ROB?