From f36e220f91335ccdfbff489f5531c4325236a8e9 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 27 Jan 2020 18:40:32 +0000 Subject: [PATCH] [Minor] Use more portable _mm_loadu_si128 --- src/libutil/str_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libutil/str_util.c b/src/libutil/str_util.c index 5cee63baf..cb69a8b33 100644 --- a/src/libutil/str_util.c +++ b/src/libutil/str_util.c @@ -3374,8 +3374,8 @@ rspamd_str_has_8bit (const guchar *beg, gsize len) n2 = n1; while (len >= 32) { - __m128i xmm1 = _mm_lddqu_si128 ((const __m128i *)beg); - __m128i xmm2 = _mm_lddqu_si128 ((const __m128i *)nextd); + __m128i xmm1 = _mm_loadu_si128 ((const __m128i *)beg); + __m128i xmm2 = _mm_loadu_si128 ((const __m128i *)nextd); n1 = _mm_or_si128 (n1, xmm1); n2 = _mm_or_si128 (n2, xmm2); -- 2.39.5