SDL Wiki
[ front page | index | search | recent changes | git repo | offline html ]

SDL_SVE2_INTRINSICS

Defined if (and only if) the compiler supports ARM SVE2 intrinsics.

Header File

Defined in <SDL3/SDL_intrin.h>

Syntax

#define SDL_SVE2_INTRINSICS 1

Remarks

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.

Version

This macro is available since SDL 3.6.0.


CategoryAPI, CategoryAPIMacro, CategoryIntrinsics


[ edit | delete | history | feedback | raw ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.