#include <string.h> // for memcpy
+#if defined(__clang__) && (__clang_major__ == 15)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecate-lax-vec-conv-all"
}
#pragma clang diagnostic pop
+#endif // defined(__clang__) && (__clang_major__ == 15)
#endif // ARCH_PPC64EL_SIMD_UTILS_H
u.u32x4[0] = vec_splats(static_cast<uint32_t>(other));
}
+#if defined(__clang__) && (__clang_major__ == 15)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecate-lax-vec-conv-all"
template<>
u.s64x2[0] = static_cast<int64x2_t>(vec_splats(static_cast<ulong64_t>(other)));
}
#pragma clang diagnostic pop
+#endif // defined(__clang__) && (__clang_major__ == 15)
template<>
template<>
int64x2_t a = { 0x123456789abcdefLL, ~0LL };
simd = vreinterpretq_s32_s64(a);
#elif defined(ARCH_PPC64EL)
+#if defined(__clang__) && (__clang_major__ == 15)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecate-lax-vec-conv-all"
int64x2_t a = {0x123456789abcdefLL, ~0LL };
simd = static_cast<m128>(a);
#pragma clang diagnostic pop
+#endif // defined(__clang__) && (__clang_major__ == 15)
#endif
#endif
r = movq(simd);