Function sdl2_sys::SDL_HasAVX2
source · pub unsafe extern "C" fn SDL_HasAVX2() -> SDL_bool
Expand description
Determine whether the CPU has AVX2 features.
This always returns false on CPUs that aren’t using Intel instruction sets.
\returns SDL_TRUE if the CPU has AVX2 features or SDL_FALSE if not.
\since This function is available since SDL 2.0.4.
\sa SDL_Has3DNow \sa SDL_HasAltiVec \sa SDL_HasAVX \sa SDL_HasMMX \sa SDL_HasRDTSC \sa SDL_HasSSE \sa SDL_HasSSE2 \sa SDL_HasSSE3 \sa SDL_HasSSE41 \sa SDL_HasSSE42