3 ms·
I don't think that's what they're suggesting. This is more about replacing most register references within opcodes with stack pointer offsets, for faster contex
by skybrian 9y ago
I don't think that's what they're suggesting. This is more about replacing most register references within opcodes with stack pointer offsets, for faster context switching. It only replaces the register-spilling part of a context switch, along with the register-allocation code in a compiler.
It sounds a bit like SPARC, but more flexible? And not particularly difficult to port to.
- jcranmer 9y ago> It only replaces the register-spilling part of a context switch, along with the register-allocation code in a compiler. The compiler would still need to stack slot coloring. And, as I noted elsewhere, they also seem to suggest dropping memory coherency, which makes the stack here just a register file with single instructions that load and store the registers to memory.
- xf00ba7 9y agoThat's what I'm guessing too, something a bit like SPARC but more flexible. Seems you can get a data movement win if you don't mindlessly move the entire linux task struct on every swap.