[haiku-development] Re: Optimizing Painter::_DrawBitmapBilinearCopy32

  • From: Stefano Ceccherini <stefano.ceccherini@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 17 Jun 2009 09:12:33 +0200

2009/6/16 Christian Packmann <Christian.Packmann@xxxxxx>:


> - we need CPU identification code and storage for the results. The CPU id
> should be done once at startup and the results stored in global vars or made
> available via global methods. This should eventually be done in the kernel,
> but AFAIK there are no such functions yet.

We have these already.
At least, we can detect the cpu features of the installed cpus. Check
x86_check_feature() in the kernel. (arch_cpu.cpp)

Other related posts: