SDL_SSE4_2_INTRINSICS(3)
π SDL_SSE4_2_INTRINSICS π
okay bestie, so this is a page from the SDL3 functions manual, and today's main character is SDL_SSE4_2_INTRINSICS β a macro that only exists when your compiler is out here supporting Intel SSE4.2 intrinsics. she's conditional, she's exclusive, she's giving "you either get me or you don't." π
β¨ NAME β¨
SDL_SSE4_2_INTRINSICS β defined if (and only if) the compiler supports Intel SSE4.2 intrinsics. if and only if, bestie, that's a whole biconditional, we love a strict queen π
πΈ SYNOPSIS πΈ
#include <SDL3/SDL_intrin.h>
#define SDL_SSE4_2_INTRINSICS 1
like, that's the whole vibe. include the header, and if the stars align (and your compiler agrees), boom, she's 1. β¨
π¦ DESCRIPTION π¦
so here's the tea: if this macro is defined, SDL will have already included <nmmintrin.h> for you. no cap. you don't have to do it yourself, she already did it. it's giving "I got you, babes." π«Ά
heads up though: this is all conditional. if the macro is not defined, none of that happened, so don't go using SSE4.2 intrinsics like they're just gonna be there. vibe check your preprocessor first. π
π AVAILABILITY π
this macro is available since SDL 3.2.0. so if you're on something older, sorry bestie, she wasn't born yet. π
π SEE ALSO π
the whole intrinsic family reunion, they're all iconic, go say hi:
and that's the page!! this one came to you from Simple Directmedia Layer, SDL 3.4.18 β tysm for reading, drink some water, compile with -O2, and I'll see you in the next manpage. mwah ππβ¨
π¦ 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