SDL_SSE4_1_INTRINSICS(3)

πŸ’– SDL_SSE4_1_INTRINSICS πŸ’–

okay bestie, welcome to the SDL3 FUNCTIONS corner of the manual, where today we're talking about SDL_SSE4_1_INTRINSICS. it's a macro. it's giving very "are you on the cool CPU or not" energy. let's get into it 🫢


✨ NAME ✨

SDL_SSE4_1_INTRINSICS β€” defined if (and only if) the compiler supports Intel SSE4.1 intrinsics. that's the whole vibe check, no cap.


🌸 SYNOPSIS 🌸

#include <SDL3/SDL_intrin.h>

#define SDL_SSE4_1_INTRINSICS 1

like... that's it. that's the whole thing. iconic.


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: if this macro is defined, then SDL will have already included <smmintrin.h> for you. no extra work on your end, bestie, SDL already did the homework πŸ’…


🌈 AVAILABILITY 🌈

this macro is available since SDL 3.2.0. so if you're on anything older, sorry babe, she's not there yet 😭


πŸ‘‘ SEE ALSO πŸ‘‘

the whole SSE sibling squad, obviously. they all hang out together:


and that's the page, fr fr. brought to you by Simple Directmedia Layer β€” that's SDL 3.4.18, dated with the whole SDL_SSE4_1_INTRINSICS(3) header energy. mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from