Re:Why do CPUs have multiple cache levels?
by cesarb on Monday August 08, 2016 @04:21AM
(#12246213)
The 32-bit ARM architecture actually does this. It has a "fast interrupt" mode which switches half of the register file to a separate bank. (The newer 64-bit ARM architecture doesn't have this feature.)
[ Parent
| on HN ]
Re:Why do CPUs have multiple cache levels?
by DigitalJack on Monday August 08, 2016 @11:29AM
(#12248518)
I thought the fast interrupt skipped some of the pushing and popping when entering and leaving the interrupt service routine. In other words, the routine was not allowed to touch certain registers, so they didn't have to be saved off.
Re:Why do CPUs have multiple cache levels?
by monocasa on Monday August 08, 2016 @12:25PM
(#12248934)
It can. On non-M ARMs, pushing and popping is done by the interrupt handler, not by the processor. So if you want a really low latency FIQ, you can just rely on the half of the register bank that gets swapped in, and avoid the parts that don't.