sdlHasArmsimd function

bool sdlHasArmsimd()

Determine whether the CPU has ARM SIMD (ARMv6) features.

This is different from ARM NEON, which is a different instruction set.

This always returns false on CPUs that aren't using ARM instruction sets.

\returns true if the CPU has ARM SIMD features or false if not.

\threadsafety It is safe to call this function from any thread.

\since This function is available since SDL 3.1.3.

\sa SDL_HasNEON

extern SDL_DECLSPEC bool SDLCALL SDL_HasARMSIMD(void)

Implementation

bool sdlHasArmsimd() {
  final sdlHasArmsimdLookupFunction = libSdl3
      .lookupFunction<Uint8 Function(), int Function()>('SDL_HasARMSIMD');
  return sdlHasArmsimdLookupFunction() == 1;
}