From d03844d96fb4f5fb1a3e0400cd150814b9a0af2b Mon Sep 17 00:00:00 2001 From: evoskuil Date: Fri, 31 May 2024 18:32:04 -0400 Subject: [PATCH] Revert "Auxiliary commit to revert individual files from a71ad16327939d4d5215cee144df7abc90f6fdeb" This reverts commit 1bd44f1ffda412ba11bba691f6200cb5c08ac150, reversing changes made to 434772ab9ffd7562a049047c864781c44cee03ef. --- include/bitcoin/system/intrinsics/haves.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/bitcoin/system/intrinsics/haves.hpp b/include/bitcoin/system/intrinsics/haves.hpp index 134a4b679e..621eab431d 100644 --- a/include/bitcoin/system/intrinsics/haves.hpp +++ b/include/bitcoin/system/intrinsics/haves.hpp @@ -178,7 +178,7 @@ inline bool have_avx512() NOEXCEPT inline bool have_avx2() NOEXCEPT { if constexpr (with_avx2) - return true;//// try_avx2(); + return try_avx2(); else return false; } @@ -186,15 +186,15 @@ inline bool have_avx2() NOEXCEPT inline bool have_sse41() NOEXCEPT { if constexpr (with_sse41) - return true;//// try_sse41(); + return try_sse41(); else return false; } inline bool have_neon() NOEXCEPT { - if constexpr (with_neon) - return try_neon(); + if constexpr (with_shani) + return try_shani(); else return false; }