Skip to content

Commit

Permalink
Merge pull request #1470 from evoskuil/master
Browse files Browse the repository at this point in the history
Revert have_avx2() always true, accidental commit.
  • Loading branch information
evoskuil authored Jun 1, 2024
2 parents a71ad16 + d03844d commit 3c3116d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/bitcoin/system/intrinsics/haves.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -178,23 +178,23 @@ inline bool have_avx512() NOEXCEPT
inline bool have_avx2() NOEXCEPT
{
if constexpr (with_avx2)
return true;//// try_avx2();
return try_avx2();
else
return false;
}

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;
}
Expand Down

0 comments on commit 3c3116d

Please sign in to comment.