Hi,
Recently, I’ve seen patches posted on this mailing list that needed cpu
features detection (esp mmx detection).
I’ve had this idea for some time now, and here is my try at it :
SDL_cpu. This is a small patch that adds cpu features detection to SDL
through a simple function :
SDL_CpuHasFeature(requested_feature). For example,
SDL_CpuHasFeature(SDL_CPU_X86_MMX) returns wether the cpu is mmx-capable.
If it’s accepted I’ll start integrating patches using this interface and
then submit them to this list.
Stephane
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed…
Name: sdlcpu.patch
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20030713/6ed1ae4a/attachment.asc