Function sdl2_sys::SDL_HasARMSIMD

source ·
pub unsafe extern "C" fn SDL_HasARMSIMD() -> SDL_bool
Expand description

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 SDL_TRUE if the CPU has ARM SIMD features or SDL_FALSE if not.

\since This function is available since SDL 2.0.12.

\sa SDL_HasNEON