Function SDL_HasARMSIMD

pub unsafe extern "C" fn SDL_HasARMSIMD() -> bool
Available on crate feature dep_sdl3 only.
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.

§Return value

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

§Thread safety

It is safe to call this function from any thread.

§Availability

This function is available since SDL 3.2.0.

§See also