News for hackers. Stuff that matters.
Re:Why do CPUs have multiple cache levels? by Dylan16807 on Monday August 08, 2016 @07:41AM (#12246921)
All that extra state is there to help overlap instructions on a time scale of nanoseconds. Every instruction has its own name->register mapping. If you're switching to kernel mode or maybe if you miss a branch or for whatever other reason, the CPU consolidates you back down to running one instruction. Once that happens, you only have one name->register mapping and all the registers have their correct values. The hidden state is reduced to nothing and you only have to save the "real" state of those 16.

There are no comments on this comment yet.