On Mer, 2004-09-22 at 22:14, Eric Anholt wrote: > > 2.2 kernels and kernels not properly configured for Pentium3 CPUs. So, > > what's the right way on a 2.4 or a 2.6 kernel to determine if an app can > > use SSE? What about BSD? > > On FreeBSD we just use a convenient little sysctl to pull out whether > there's SSE and the kernel supports it.
Ask the processor or ask the kernel (cpuid or /proc/cpuinfo). All modern kernels support SSE so the exception case should only occur for 2.2 (ie unsupported). Alan ------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
