From 9cece17ae1cbb63f9eed49752dc37c4ce03650ec Mon Sep 17 00:00:00 2001 From: Konstantinos Margaritis Date: Wed, 11 Jun 2025 13:49:54 +0300 Subject: [PATCH] Fix Power VSX alignr --- src/util/supervector/arch/ppc64el/impl.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/util/supervector/arch/ppc64el/impl.cpp b/src/util/supervector/arch/ppc64el/impl.cpp index b2c69271..56f55b0c 100644 --- a/src/util/supervector/arch/ppc64el/impl.cpp +++ b/src/util/supervector/arch/ppc64el/impl.cpp @@ -560,11 +560,6 @@ really_inline SuperVector<16> SuperVector<16>::alignr(SuperVector<16> &other, in { if (offset == 0) return other; if (offset == 16) return *this; -#if defined(HAVE__BUILTIN_CONSTANT_P) - if (__builtin_constant_p(offset)) { - return SuperVector<16>(vec_sld(u.s8x16[0], other.u.s8x16[0], offset)); - } -#endif uint8x16_t sl = vec_splats((uint8_t) (offset << 3)); uint8x16_t sr = vec_splats((uint8_t) ((16 - offset) << 3)); uint8x16_t rhs = vec_slo(u.u8x16[0], sr);