SDL_AVX512F_INTRINSICS(3)

πŸ’… SDL_AVX512F_INTRINSICS(3) β€” the SDL3 functions girlie

okay so bestie, we're in the SDL3 FUNCTIONS section and today's main character is SDL_AVX512F_INTRINSICS ✨


🌸 NAME 🌸

SDL_AVX512F_INTRINSICS β€” this macro is defined if and only if your compiler supports Intel AVX-512F intrinsics πŸ’–

like, no cap, "if and only if" β€” not "usually", not "sometimes". It's giving binary. It's either there or it's not πŸ¦‹


πŸŽ€ SYNOPSIS πŸŽ€

#include <SDL3/SDL_intrin.h>

#define SDL_AVX512F_INTRINSICS 1

so you just #include the header and the macro does its little thing πŸ’«


✨ DESCRIPTION ✨

AVX-512F is also sometimes referred to as "AVX-512 Foundation." πŸ›οΈ like it's the founding mother of the AVX-512 family, iconic behavior honestly πŸ‘‘

and here's the tea, bestie: if this macro is defined, SDL will have already included <immintrin.h> for you 🫢 no extra work, she's already handled it

🌈 AVAILABILITY 🌈

This macro is available since SDL 3.2.0. So if you're on anything older… girl. Upgrade πŸ’€


πŸ’œ SEE ALSO πŸ’œ

go read those too, they're the siblings, the whole family is slaying fr fr 🌸


Simple Directmedia Layer β€” SDL 3.4.18 β€” SDL_AVX512F_INTRINSICS(3)

mwah, that's the whole page, ily, go compile something gorgeous πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from