]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
add missing findLSB for ppc64le feature/refactor-noodle-masked-load 216/head
authorKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Mon, 18 Dec 2023 20:24:28 +0000 (22:24 +0200)
committerKonstantinos Margaritis <konma@vectorcamp.gr>
Thu, 21 Dec 2023 23:25:37 +0000 (23:25 +0000)
src/util/supervector/arch/ppc64el/impl.cpp

index de7c73fa1a4de482279da35c31d4a13496de055c..46e2a822bf8c817fc4814f8eaa1a89037a0d590c 100644 (file)
@@ -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)
 {