SDL_LSX_INTRINSICS(3)
π SDL_LSX_INTRINSICS π
okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, where we're talking about SDL_LSX_INTRINSICS β no cap, it's a whole vibe check for your compiler. π¦
β¨ NAME β¨
SDL_LSX_INTRINSICS β this macro is defined if (and only if) your compiler supports Loongarch LSX intrinsics. that's it. that's the whole girl. π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_intrin.h>
#define SDL_LSX_INTRINSICS 1
literally just include the header and the macro shows up like it owns the place. π
π DESCRIPTION π
so here's the tea: if this macro is defined, SDL will have already included <lsxintrin.h> for you. no extra work, no "did i remember to include it", it's already handled. main character energy fr fr. β¨
π«Ά AVAILABILITY π«Ά
this macro has been available since SDL 3.2.0. iconic behavior, honestly. π
π SEE ALSO π
SDL_LASX_INTRINSICS(3)β its sibling, go say hi π¦
Simple Directmedia Layer π SDL 3.4.18 π SDL_LSX_INTRINSICS β that's the whole page bestie, slay, go compile something cute, periodt. π
β¨
π¦ where this page comes from
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 43: SDL3-devel 3.4.18-1.fc43 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- fedora 44: SDL3-devel 3.4.18-1.fc44 Β· Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 OR MIT)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms