From 9a53b193e127b1cf6e60cfb43bd88da15752f139 Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Mon, 18 Dec 2023 22:24:28 +0200 Subject: [PATCH] add missing findLSB for ppc64le --- src/util/supervector/arch/ppc64el/impl.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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) {