From: Konstantinos Margaritis Date: Mon, 18 Dec 2023 20:24:28 +0000 (+0200) Subject: add missing findLSB for ppc64le X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Ffeature%2Frefactor-noodle-masked-load;p=thirdparty%2Fvectorscan.git add missing findLSB for ppc64le --- diff --git a/src/util/supervector/arch/ppc64el/impl.cpp b/src/util/supervector/arch/ppc64el/impl.cpp index de7c73fa..46e2a822 100644 --- a/src/util/supervector/arch/ppc64el/impl.cpp +++ b/src/util/supervector/arch/ppc64el/impl.cpp @@ -555,6 +555,12 @@ really_inline SuperVector<16> SuperVector<16>::loadu_maskz(void const *ptr, uint return mask & v; } +template<> +really_inline typename SuperVector<16>::comparemask_type SuperVector<16>::findLSB(typename SuperVector<16>::comparemask_type &z) +{ + return findAndClearLSB_32(&z); +} + template<> really_inline SuperVector<16> SuperVector<16>::alignr(SuperVector<16> &other, int8_t offset) {