diff --git a/include/bitcoin/system/intrinsics/xcpu/functional_512.hpp b/include/bitcoin/system/intrinsics/xcpu/functional_512.hpp index 53724cdbbd..d3d6b0b013 100644 --- a/include/bitcoin/system/intrinsics/xcpu/functional_512.hpp +++ b/include/bitcoin/system/intrinsics/xcpu/functional_512.hpp @@ -160,13 +160,13 @@ template = true> INLINE xint512_t add(xint512_t a, xint512_t b) NOEXCEPT { if constexpr (is_same_type) - return mm256_add_epi8(a, b); + return mm512_add_epi8(a, b); if constexpr (is_same_type) - return mm256_add_epi16(a, b); + return mm512_add_epi16(a, b); if constexpr (is_same_type) - return mm256_add_epi32(a, b); + return mm512_add_epi32(a, b); if constexpr (is_same_type) - return mm256_add_epi64(a, b); + return mm512_add_epi64(a, b); } // AVX512F