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 πŸ‘€


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