add arm vector types in union, avoid -flax-conversions, fix castings

This commit is contained in:
Konstantinos Margaritis
2021-10-19 18:23:13 +00:00
committed by Konstantinos Margaritis
parent 35a25fffd7
commit 7b65b298c1
6 changed files with 145 additions and 93 deletions

View 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);
#endif
#endif
r = movq(simd);