SDL_HasMMX(3)
π SDL_HasMMX π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, where we're checking in on SDL_HasMMX π¦
β¨ NAME β¨
SDL_HasMMX β determine whether the CPU has MMX features π
β¨ SYNOPSIS β¨
#include <SDL3/SDL_cpuinfo.h>
bool SDL_HasMMX(void);
β¨ DESCRIPTION β¨
so basically this one goes and asks the universe "hey, does this CPU have MMX features?" π
and here's the tea: on CPUs that aren't using Intel instruction sets, this thing always returns false. like, always always. no cap. π
β¨ RETURN VALUE β¨
- returns
trueif the CPU has MMX features π₯ - returns
falseif not π
β¨ THREAD SAFETY β¨
it is safe to call this function from any thread π«Ά go wild, no locks needed, she's chill like that β¨
β¨ AVAILABILITY β¨
this function is available since SDL 3.2.0 β
πΈ quick vibe check: this is a yes/no question about your CPU, not a magic switch. you can't turn MMX on with it, you can only find out if it's already there. iykyk π
and that's the whole page, bestie!! π this little icon came to you from Simple Directmedia Layer, version SDL 3.4.18, and it lives its best life in the SDL_HasMMX(3) era of the SDL3 FUNCTIONS manual πβ¨ love that for us, fr fr π
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms