SDL_HasSSE3(3)
β¨ SDL_HasSSE3 β¨
okay bestie, so this one lives in the SDL3 manual, section 3 (that's the functions girlies π
), and it's literally just called SDL_HasSSE3. that's the whole vibe. she checks if your CPU is serving SSE3 energy. π¦
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_cpuinfo.h>
bool SDL_HasSSE3(void);
like, one include, one function, no arguments. she's low maintenance. an icon. π
π DESCRIPTION π
so here's the tea: this function asks your CPU "do you have SSE3 features, bestie?" and it tells you what's up.
π¨ IMPORTANT: on CPUs that aren't using Intel instruction sets, this always returns false. like, not "maybe", not "sometimes" β always. no cap.
π RETURN VALUE π
trueβ yay, your CPU has SSE3 features β¨falseβ nope, she doesn't π
π§ THREAD SAFETY π§
this is the best part, fr fr β it's safe to call this function from any thread. go wild. call it from all of them. she doesn't care. main character energy only. π
β AVAILABILITY β
this function has been available since SDL 3.2.0. so if you're on anything older, sorry babe, she wasn't born yet π
π SEE ALSO π
the whole SSE sisterhood, obviously. iykyk:
and that's the whole page, bestie π«Ά this was brought to you by Simple Directmedia Layer, version SDL 3.4.18, and the iconic SDL_HasSSE3(3) herself. slay, stay hydrated, and go check those CPU features. periodt. πβ¨π
π¦ 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