mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-04 19:55:19 +00:00
Fix build with SVE2 (#15586)
This commit is contained in:
parent
2c4e6ed358
commit
11745aad07
1 changed files with 3 additions and 1 deletions
|
|
@ -288,7 +288,9 @@ _m_prefetch(void *__P)
|
|||
# define __ARM_FEATURE_SVE2 1 /* Set __ARM_FEATURE_SVE2 so that it can be used elsewhere, at compile time */
|
||||
# define __ARM_ARCH 8
|
||||
# endif
|
||||
# elif !defined(SDL_PLATFORM_MACOS) /* Apple has no AArch64 device supporting SVE2 */
|
||||
# elif defined(SDL_PLATFORM_MACOS)
|
||||
/* Apple has no AArch64 device supporting SVE2 */
|
||||
# elif defined(__ARM_ARCH) && (__ARM_ARCH >= 8) && (defined(__aarch64__) || defined(_M_ARM64))
|
||||
# define SDL_SVE2_INTRINSICS 1
|
||||
# include <arm_sve.h>
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue