From 080c15f92dca18492d5d4964c8851fd9026cdaca Mon Sep 17 00:00:00 2001 From: ueshita Date: Sun, 7 Jul 2024 06:39:13 +0900 Subject: [PATCH] Fix build error on arm64 architecture Issue: https://github.com/effekseer/EffekseerForMultiLanguages/issues/30 --- Dev/Cpp/Effekseer/Effekseer/SIMD/Int4_NEON.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dev/Cpp/Effekseer/Effekseer/SIMD/Int4_NEON.h b/Dev/Cpp/Effekseer/Effekseer/SIMD/Int4_NEON.h index ea3f8802db..574b4ada9d 100644 --- a/Dev/Cpp/Effekseer/Effekseer/SIMD/Int4_NEON.h +++ b/Dev/Cpp/Effekseer/Effekseer/SIMD/Int4_NEON.h @@ -290,7 +290,7 @@ inline Int4 Int4::Mask() static_assert(Z >= 2, "indexZ is must be set 0 or 1."); static_assert(W >= 2, "indexW is must be set 0 or 1."); const uint32_t in[4] = {0xffffffff * X, 0xffffffff * Y, 0xffffffff * Z, 0xffffffff * W}; - return vld1q_u32(in); + return vreinterpretq_s32_u32(vld1q_u32(in)); } inline uint32_t Int4::MoveMask(const Int4& in)