table of contents
other versions
- experimental 3.5~git20260611~7c60bcd+ds-1
| SDL_SVE2_INTRINSICS(3) | SDL3 FUNCTIONS | SDL_SVE2_INTRINSICS(3) |
NAME¶
SDL_SVE2_INTRINSICS - Defined if (and only if) the compiler supports ARM SVE2 intrinsics.
SYNOPSIS¶
#include <SDL3/SDL_intrin.h>
#define SDL_SVE2_INTRINSICS 1
DESCRIPTION¶
If this macro is defined, <arm_sve.h> (providing SVE intrinsics) will only be included if the target architecture supports SVE (__ARM_FEATURE_SVE feature macro). Some toolchains do not support SDL_TARGETING("arch=armv8-a+sve2"), so for best portability you need to write all SVE code in a separate translation unit and add appropriate compile flags.
AVAILABILITY¶
This macro is available since SDL 3.6.0.
| SDL 3.5.0 | Simple Directmedia Layer |