SDL_intrin.h: Added missing NEON and Altivec documentation.

This commit is contained in:
Ryan C. Gordon 2024-12-17 23:32:41 -05:00
parent d38c09e5c4
commit c9ab8ad8d9
No known key found for this signature in database
GPG key ID: FA148B892AB48044

View file

@ -75,6 +75,25 @@
*/
#define SDL_LASX_INTRINSICS 1
/**
* Defined if (and only if) the compiler supports ARM NEON intrinsics.
*
* If this macro is defined, SDL will have already included `<armintr.h>`
* `<arm_neon.h>`, `<arm64intr.h>`, and `<arm64_neon.h>`, as appropriate.
*
* \since This macro is available since 3.1.3.
*/
#define SDL_NEON_INTRINSICS 1
/**
* Defined if (and only if) the compiler supports PowerPC Altivec intrinsics.
*
* If this macro is defined, SDL will have already included `<altivec.h>`
*
* \since This macro is available since 3.1.3.
*/
#define SDL_ALTIVEC_INTRINSICS 1
/**
* Defined if (and only if) the compiler supports Intel MMX intrinsics.
*