From dc2b4d95a8618f5f391e1cc1875b929bda11e2d0 Mon Sep 17 00:00:00 2001 From: Valentin Churavy Date: Thu, 5 Jan 2023 19:32:40 +0100 Subject: [PATCH] Deprecate AMD's LWP extension (#48131) --- src/features_x86.h | 2 +- src/processor_x86.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/features_x86.h b/src/features_x86.h index 93cef3d8ce30e..acacaa68751d3 100644 --- a/src/features_x86.h +++ b/src/features_x86.h @@ -89,7 +89,7 @@ JL_FEATURE_DEF(lzcnt, 32 * 5 + 5, 0) JL_FEATURE_DEF(sse4a, 32 * 5 + 6, 0) JL_FEATURE_DEF(prfchw, 32 * 5 + 8, 0) JL_FEATURE_DEF(xop, 32 * 5 + 11, 0) -JL_FEATURE_DEF(lwp, 32 * 5 + 15, 0) +// JL_FEATURE_DEF(lwp, 32 * 5 + 15, 0) Deprecated JL_FEATURE_DEF(fma4, 32 * 5 + 16, 0) JL_FEATURE_DEF(tbm, 32 * 5 + 21, 0) JL_FEATURE_DEF(mwaitx, 32 * 5 + 29, 0) diff --git a/src/processor_x86.cpp b/src/processor_x86.cpp index 6f064ddd47d19..c61712ada787a 100644 --- a/src/processor_x86.cpp +++ b/src/processor_x86.cpp @@ -219,7 +219,7 @@ constexpr auto btver2 = btver1 | get_feature_masks(sse41, sse42, avx, aes, pclmu movbe, xsave, xsaveopt); constexpr auto bdver1 = amdfam10 | get_feature_masks(xop, fma4, avx, ssse3, sse41, sse42, aes, - prfchw, pclmul, xsave, lwp); + prfchw, pclmul, xsave); constexpr auto bdver2 = bdver1 | get_feature_masks(f16c, bmi, tbm, fma); constexpr auto bdver3 = bdver2 | get_feature_masks(xsaveopt, fsgsbase); constexpr auto bdver4 = bdver3 | get_feature_masks(avx2, bmi2, mwaitx, movbe, rdrnd);