Man page - sdl_haslsx(3)

Packages contas this manual

Manual

SDL_HasLSX(3) SDL3 FUNCTIONS SDL_HasLSX(3)

SDL_HasLSX - Determine whether the CPU has LSX (LOONGARCH SIMD) features.

Defined in SDL3/SDL_cpuinfo.h

#include "SDL3/SDL.h"
bool SDL_HasLSX(void);

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

Returns true if the CPU has LOONGARCH LSX features or false if not.

It is safe to call this function from any thread.

This function is available since SDL 3.2.0.

SDL 3.2.10 Simple Directmedia Layer