Avoid using SSE intrinsic on ARM64/ARM64EC targets. (#9209, #5943, #4091)

This commit is contained in:
Naveen Regulla
2026-02-13 17:24:34 +01:00
committed by ocornut
parent 9f2b3bcf7a
commit eaa32bb787
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ Index of this file:
#include <limits.h> // INT_MIN, INT_MAX
// Enable SSE intrinsics if available
#if (defined __SSE__ || defined __x86_64__ || defined _M_X64 || (defined(_M_IX86_FP) && (_M_IX86_FP >= 1))) && !defined(IMGUI_DISABLE_SSE)
#if (defined __SSE__ || defined __x86_64__ || defined _M_X64 || (defined(_M_IX86_FP) && (_M_IX86_FP >= 1))) && !defined(IMGUI_DISABLE_SSE) && !defined(_M_ARM64) && !defined(_M_ARM64EC)
#define IMGUI_ENABLE_SSE
#include <immintrin.h>
#if (defined __AVX__ || defined __SSE4_2__)