head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.08.16.11.56.45; author ryoon; state Exp; branches; next ; commitid 3TaBQ4AGc6jHcRRG; desc @@ 1.1 log @lang/nodejs: Fix build under NetBSD/i386 11 at least * Disable HDR_HAS_AVX2_DISPATCH not to use _mm_extract_epi64 C intrinsic that is not available for IA32. @ text @$NetBSD$ --- deps/histogram/src/hdr_histogram.c.orig 2026-08-16 07:43:18.222206955 +0000 +++ deps/histogram/src/hdr_histogram.c @@@@ -36,7 +36,7 @@@@ /* Runtime-dispatched AVX2 path: keep the rest of this TU at the project's baseline ISA so the shipped binary does not silently require AVX2. */ -#if (defined(__x86_64__) || defined(_M_X64) || defined(__i386__) || defined(_M_IX86)) \ +#if (defined(__x86_64__) || defined(_M_X64) || defined(_M_IX86)) \ && (defined(__GNUC__) || defined(__clang__)) && !defined(__INTEL_COMPILER) && !defined(_MSC_VER) # define HDR_HAS_AVX2_DISPATCH 1 # include @