From: Alan C. <al...@lx...> - 2004-09-23 16:52:44
|
On Iau, 2004-09-23 at 17:22, Ian Romanick wrote: > The folks on #freedesktop suggested parsing cpuinfo, and I wrote some > simple code to do that. Are you saying that, if CPUID returns the SSE > bit set and we're on a 2.4 or later kernel, we're good to go? That > would make me very happy because we already test the CPUID bit, and DRI > isn't supported on 2.2. :) Should do. There is a corner case of SMP with only one CPU having SSE but thats already broken in Mesa and many other packages. The more thorough case is you use /dev/cpu/%d/cpuid to check the CPUid on each processor but I'm not sure thats neccessary in reality |