From: Vsevolod Stakhov Date: Mon, 27 Jan 2020 18:40:32 +0000 (+0000) Subject: [Minor] Use more portable _mm_loadu_si128 X-Git-Tag: 2.3~34 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f36e220f91335ccdfbff489f5531c4325236a8e9;p=rspamd.git [Minor] Use more portable _mm_loadu_si128 --- 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);