]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
Allow the full cpuid flags for fat runtimes
authorMatthew Barr <matthew.barr@intel.com>
Tue, 9 May 2017 01:20:47 +0000 (11:20 +1000)
committerMatthew Barr <matthew.barr@intel.com>
Tue, 30 May 2017 03:59:00 +0000 (13:59 +1000)
src/util/cpuid_flags.c

index 8ac0e63ce291fd59934c66c6b43bc7fe0c122f97..e9bdf69017fa9dd3d2ce67b515ade87a9c9b6610 100644 (file)
@@ -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