]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
clang is more strict
authorKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Thu, 2 Dec 2021 21:09:53 +0000 (23:09 +0200)
committerKonstantinos Margaritis <konstantinos@vectorcamp.gr>
Thu, 2 Dec 2021 21:09:53 +0000 (23:09 +0200)
unit/internal/simd_utils.cpp

index 900078bb3e6235ea3f707afd94a0e39309dc2679..bc2421dc91bae18b8f5fb7f4b152eec2ba963b2a 100644 (file)
@@ -667,7 +667,7 @@ TEST(SimdUtilsTest, movq) {
     simd = _mm_set_epi64x(~0LL, 0x123456789abcdef);
 #elif defined(ARCH_ARM32) || defined(ARCH_AARCH64)
     int64x2_t a = { 0x123456789abcdefLL, ~0LL };
-    simd = vreinterpretq_s64_s8(a);
+    simd = vreinterpretq_s32_s64(a);
 #elif defined(ARCH_PPC64EL)
     int64x2_t a = {0x123456789abcdefLL, ~0LL };
     simd = (m128) a;