Robert Lunnon bobl@optushome.com.au writes:
Improves CPUID instruction support in cpu.c by reorganising the existing FREEBSD code. Added more robust cpuid detection with built in 386 detection. Code should work for all i386 platforms and has been tested under solaris. Created subroutines for detecting number of CPUs and OS SSE support as this can't be done in a uniform way across different OSes. Extracted relevant code from each section to perform these OS specific operations (Mostly untested).
It's hard to tell exactly what has changed, since you basically rewrote the whole thing, for no good reason IMO. Could you please try to merge your changes with the existing code instead?