From: Konstantinos Margaritis Date: Tue, 28 Nov 2023 12:06:46 +0000 (+0000) Subject: make diffrich384 available on all arches X-Git-Tag: vectorscan/5.4.12^2~83^2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=be9ce687677bfea43b2e49fc4349b7eebf6312cd;p=thirdparty%2Fvectorscan.git make diffrich384 available on all arches --- diff --git a/src/util/arch/common/simd_utils.h b/src/util/arch/common/simd_utils.h index 89190648..24331b10 100644 --- a/src/util/arch/common/simd_utils.h +++ b/src/util/arch/common/simd_utils.h @@ -455,7 +455,6 @@ static really_inline int isnonzero384(m384 a) { return isnonzero128(or128(or128(a.lo, a.mid), a.hi)); } -#if defined(HAVE_SIMD_128_BITS) && !defined(ARCH_IA32) && !defined(ARCH_X86_64) /** * "Rich" version of diff384(). Takes two vectors a and b and returns a 12-bit * mask indicating which 32-bit words contain differences. @@ -464,7 +463,6 @@ static really_inline u32 diffrich384(m384 a, m384 b) { return diffrich128(a.lo, b.lo) | (diffrich128(a.mid, b.mid) << 4) | (diffrich128(a.hi, b.hi) << 8); } -#endif /** * "Rich" version of diff384(), 64-bit variant. Takes two vectors a and b and