# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/highway/hotfix-ia64.patch # Copyright (C) 2026 The T2 SDE Project # SPDX-License-Identifier: GPL-2.0 or patched project license # --- T2-COPYRIGHT-END --- --- highway-1.4.0/hwy/detect_compiler_arch.h.vanilla 2026-05-02 12:04:06.821979006 +0200 +++ highway-1.4.0/hwy/detect_compiler_arch.h 2026-05-02 12:10:51.938328960 +0200 @@ -421,6 +421,13 @@ #define HWY_ARCH_HEXAGON 0 #endif +#if defined(__ia64) +#define HWY_ARCH_IA64 1 +#else +#define HWY_ARCH_IA64 0 +#endif + + // It is an error to detect multiple architectures at the same time, but OK to // detect none of the above. #if (HWY_ARCH_X86 + HWY_ARCH_PPC + HWY_ARCH_ARM + HWY_ARCH_ARM_OLD + \ @@ -435,7 +442,7 @@ #define HWY_ARCH_MAX_BYTES 256 #elif HWY_ARCH_HEXAGON #define HWY_ARCH_MAX_BYTES 128 -#elif HWY_ARCH_X86 +#elif HWY_ARCH_X86 || HWY_ARCH_IA64 #define HWY_ARCH_MAX_BYTES 64 #elif HWY_ARCH_WASM || HWY_ARCH_LOONGARCH #define HWY_ARCH_MAX_BYTES 32