[Bug 892] Implement GetSystemInfo using CPUID

Wine Bugs wine-bugs at winehq.com
Fri Jun 20 08:10:27 CDT 2003


http://bugs.winehq.com/show_bug.cgi?id=892





------- Additional Comments From z_god at wanadoo.nl  2003-20-06 08:10 -------
Bug comments restored from Gmane.org: 
 
Currently GetSystemInfo reads the CPU information from /proc/cpuinfo. The 
problem is that this only works on Linux and other x86-based platform only get 
the defaults which are certainly not optimal for current CPUs. 
One potential issue is that pre-586 (or is it pre-486) processors don't support 
the CPUID instruction. But this it not a big issue and can probably be handled 
in some way. 
I have set this bug's platform to FreeBSD but this is just as valid for Solaris x86. 
 
 
------- Additional Comments From marcus <at> jet.franken.de  2002-07-19 03:47 ------- 
If you want to use CPUID, use an exception handler around the  
instruction which will trigger if it is not there.  
  
Otherwise I do not see a problem to implement it for !Linux x86 systems.  

-- 
Configure bugmail: http://bugs.winehq.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list