]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
Revert to AVX2 Fat Teddy instead of AVX512 reinforced Fat Teddy.
authorChang, Harry <harry.chang@intel.com>
Tue, 14 Apr 2020 07:56:31 +0000 (15:56 +0800)
committerHong, Yang A <yang.a.hong@intel.com>
Mon, 25 May 2020 13:47:53 +0000 (13:47 +0000)
src/fdr/teddy_avx2.c

index 56ec739f1176940d601b8fa0028bcc3556f0a6ea..20ea938cf594ed96950e05fb875314253e41b7a9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016-2017, Intel Corporation
+ * Copyright (c) 2016-2020, Intel Corporation
  *
  * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions are met:
@@ -134,7 +134,7 @@ const m256 *getMaskBase_fat(const struct Teddy *teddy) {
     return (const m256 *)((const u8 *)teddy + ROUNDUP_CL(sizeof(struct Teddy)));
 }
 
-#if defined(HAVE_AVX512)
+#if defined(HAVE_AVX512_REVERT) // revert to AVX2 Fat Teddy
 
 static really_inline
 const u64a *getReinforcedMaskBase_fat(const struct Teddy *teddy, u8 numMask) {