From: Chang, Harry Date: Tue, 14 Apr 2020 07:56:31 +0000 (+0800) Subject: Revert to AVX2 Fat Teddy instead of AVX512 reinforced Fat Teddy. X-Git-Tag: v5.3.0^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e665e959a0fff4e5a9112b0fb3ec0c05f27edf10;p=thirdparty%2Fvectorscan.git Revert to AVX2 Fat Teddy instead of AVX512 reinforced Fat Teddy. --- diff --git a/src/fdr/teddy_avx2.c b/src/fdr/teddy_avx2.c index 56ec739f..20ea938c 100644 --- a/src/fdr/teddy_avx2.c +++ b/src/fdr/teddy_avx2.c @@ -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) {