SDL_HasNEON(3)
β¨ SDL_HasNEON β¨
okay bestie, welcome to the SDL3 functions corner of the man pages, this one's SDL_HasNEON(3) and it's literally so simple you're gonna be obsessed π
πΈ NAME πΈ
SDL_HasNEON β the lil vibe check that tells you whether your CPU has NEON (ARM SIMD) features π¦
π SYNOPSIS π
#include <SDL3/SDL_cpuinfo.h>
bool SDL_HasNEON(void);
like. that's the whole thing. one include, one function, zero arguments. slay β¨
π DESCRIPTION π
So here's the tea: this function peeks at your CPU and tells you if it's got NEON going on, which is the ARM SIMD situation π
But important: on CPUs that aren't using ARM instruction sets, this always returns false. Always. No exceptions, no "well maybe", just false. Not me being dramatic, that's just literally what it does π«Ά
β RETURN VALUE β
- returns
trueif the CPU has ARM NEON features π - returns
falseif it does not π
that's it. that's the whole return value situation. periodt π
π§ THREAD SAFETY π§
You can call this from any thread. Any of them. All of them. Go wild, bestie, it's safe πβ¨
π AVAILABILITY π
This icon has been serving since SDL 3.2.0 π
fr fr the only thing you gotta remember is: ARM = maybe true, not-ARM = definitely false. no cap. π
and that's the whole page, bestie!! this gem came to you courtesy of Simple Directmedia Layer, living in SDL 3.4.18, filed under SDL_HasNEON(3) ππβ¨ go forth and detect some NEON π¦
π¦ 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