xelix
xelix copied to clipboard
Only enable SSE instructions on-demand
Currently SSE is enabled for all processes and SSE registers are stored and restored for all tasks on context switches. To improve performance a bit, we should only enable SSE for processes that actually use it (By intercepting a CPU fault on first use probably) and skip the register save.