From e665e959a0fff4e5a9112b0fb3ec0c05f27edf10 Mon Sep 17 00:00:00 2001 From: "Chang, Harry" Date: Tue, 14 Apr 2020 15:56:31 +0800 Subject: [PATCH] Revert to AVX2 Fat Teddy instead of AVX512 reinforced Fat Teddy. --- src/fdr/teddy_avx2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) {