3 ms·
If I remember correctly, Intel CPUs had support in hardware for automatically saving and restoring the CPU state (doing a task switch) since the 386, and there
by userbinator 10y ago
If I remember correctly, Intel CPUs had support in hardware for automatically saving and restoring the CPU state (doing a task switch) since the 386, and there was a way to query the CPU for how big that state needs to be. That would've enabled automatic forward-compatibility, but I have a feeling that feature got broken sometime around the AMD64 timeframe (by AMD, not Intel.)
- JoeAltmaier 10y agoYeah but nobody used it - the task state segment was slow to write and read - so it was faster to push/pop registers. Pity - because this forward-compatibility argument might have convinced folks back then.