From: Matthew Barr Date: Tue, 9 May 2017 01:20:47 +0000 (+1000) Subject: Allow the full cpuid flags for fat runtimes X-Git-Tag: v4.5.0^2~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fedd48489fdb22b46a301e0ab4df2187ef1eb3fb;p=thirdparty%2Fvectorscan.git Allow the full cpuid flags for fat runtimes --- diff --git a/src/util/cpuid_flags.c b/src/util/cpuid_flags.c index 8ac0e63c..e9bdf690 100644 --- a/src/util/cpuid_flags.c +++ b/src/util/cpuid_flags.c @@ -132,7 +132,7 @@ u64a cpuid_flags(void) { cap |= HS_CPU_FEATURES_AVX2; } -#if !defined(HAVE_AVX2) +#if !defined(FAT_RUNTIME) && !defined(HAVE_AVX2) cap &= ~HS_CPU_FEATURES_AVX2; #endif